Patchwork [V2,4/5] rtc: tegra: set irq name as device name

mail settings
Submitter Laxman Dewangan
Date March 11, 2013, 8:44 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/226489/
State Superseded
Headers show


Laxman Dewangan - March 11, 2013, 8:44 a.m.
When watching the irq name of tegra rtc, it shows as "rtc alarm"
which actually does not reflect the name related to driver.

Passing the device name to have the irq names with driver name.

Signed-off-by: Laxman Dewangan <>
Reviewed-by: Thierry Reding <>
Changes from V1:
- Add Thierry's reviewed by.
- No change in code.

 drivers/rtc/rtc-tegra.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/drivers/rtc/rtc-tegra.c b/drivers/rtc/rtc-tegra.c
index c382542..fe16388 100644
--- a/drivers/rtc/rtc-tegra.c
+++ b/drivers/rtc/rtc-tegra.c
@@ -362,7 +362,7 @@  static int __init tegra_rtc_probe(struct platform_device *pdev)
 	ret = devm_request_irq(&pdev->dev, info->tegra_rtc_irq,
 			tegra_rtc_irq_handler, IRQF_TRIGGER_HIGH,
-			"rtc alarm", &pdev->dev);
+			dev_name(&pdev->dev), &pdev->dev);
 	if (ret) {
 			"Unable to request interrupt for device (err=%d).\n",