mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Reviewed-by: Thierry Reding <[email protected]> Reviewed-by: Stephen Warren <[email protected]> Cc: Jingoo Han <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
3443ad095f
commit
57bff981f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue