From aed6894a9ab202e029a4b5aaf8619eba344918b0 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 20 Mar 2013 15:08:11 +1100 Subject: [PATCH] drivers/rtc/rtc-tegra.c: set irq name as device name The irq name of tegra rtc 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 Reviewed-by: Stephen Warren Cc: Jingoo Han Signed-off-by: Andrew Morton --- drivers/rtc/rtc-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-tegra.c b/drivers/rtc/rtc-tegra.c index 0ef028b54821..e9f0d530121e 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) { dev_err(&pdev->dev, "Unable to request interrupt for device (err=%d).\n", -- 2.39.5