[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1363030201-14717-5-git-send-email-ldewangan@nvidia.com>
Date: Tue, 12 Mar 2013 01:00:00 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: <akpm@...ux-foundation.org>, <a.zummo@...ertech.it>
CC: <swarren@...dotorg.org>, <rtc-linux@...glegroups.com>,
<linux-tegra@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<thierry.reding@...onic-design.de>,
Laxman Dewangan <ldewangan@...dia.com>
Subject: [PATCH V3 4/5] rtc: tegra: set irq name as device name
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 <ldewangan@...dia.com>
Reviewed-by: Thierry Reding <thierry.reding@...onic-design.de>
Reviewed-by: Stephen Warren <swarren@...dia.com>
---
Changes from V1:
- Add Thierry's reviewed by.
- No change in code.
Changes from V2:
- Add Stephen'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 0ef028b..e9f0d53 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",
--
1.7.1.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists