aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-tegra.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-04-29 19:19:24 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 21:28:28 -0400
commit57bff981f7ebc9b4617f84d425081dbddcf9f963 (patch)
tree7a3f640f6d85bfbcbd0a8844c1cbc1d14d4c4721 /drivers/rtc/rtc-tegra.c
parent3443ad095fc330ace0ef23bf965354a56298bf58 (diff)
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 <ldewangan@nvidia.com> Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de> Reviewed-by: Stephen Warren <swarren@nvidia.com> Cc: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-tegra.c')
-rw-r--r--drivers/rtc/rtc-tegra.c2
1 files changed, 1 insertions, 1 deletions
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)
362 362
363 ret = devm_request_irq(&pdev->dev, info->tegra_rtc_irq, 363 ret = devm_request_irq(&pdev->dev, info->tegra_rtc_irq,
364 tegra_rtc_irq_handler, IRQF_TRIGGER_HIGH, 364 tegra_rtc_irq_handler, IRQF_TRIGGER_HIGH,
365 "rtc alarm", &pdev->dev); 365 dev_name(&pdev->dev), &pdev->dev);
366 if (ret) { 366 if (ret) {
367 dev_err(&pdev->dev, 367 dev_err(&pdev->dev,
368 "Unable to request interrupt for device (err=%d).\n", 368 "Unable to request interrupt for device (err=%d).\n",