From: Laxman Dewangan Date: Wed, 20 Mar 2013 04:08:11 +0000 (+1100) Subject: drivers/rtc/rtc-tegra.c: set irq name as device name X-Git-Tag: next-20130320~2^2~188 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=50d1672edeaa05f30df20d567528cf3b8dfce7de;p=karo-tx-linux.git 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 --- 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",