projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-3.17/drivers' of git://git.kernel.dk/linux-block
[deliverable/linux.git]
/
drivers
/
rtc
/
rtc-tps65910.c
diff --git
a/drivers/rtc/rtc-tps65910.c
b/drivers/rtc/rtc-tps65910.c
index 7af00208d637141a8eb18a045b94b6cfa4f5e071..2583349fbde5e99b98776742fc774698f896e5dc 100644
(file)
--- a/
drivers/rtc/rtc-tps65910.c
+++ b/
drivers/rtc/rtc-tps65910.c
@@
-258,6
+258,8
@@
static int tps65910_rtc_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
+ platform_set_drvdata(pdev, tps_rtc);
+
irq = platform_get_irq(pdev, 0);
if (irq <= 0) {
dev_warn(&pdev->dev, "Wake up is not possible as irq = %d\n",
@@
-283,8
+285,6
@@
static int tps65910_rtc_probe(struct platform_device *pdev)
return ret;
}
- platform_set_drvdata(pdev, tps_rtc);
-
return 0;
}
This page took
0.025463 seconds
and
5
git commands to generate.