projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtc: rtc-88pm80x: remove unnecessary platform_set_drvdata()
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
rtc
/
rtc-88pm80x.c
diff --git
a/drivers/rtc/rtc-88pm80x.c
b/drivers/rtc/rtc-88pm80x.c
index
f3742f3
..
354c937
100644
(file)
--- a/
drivers/rtc/rtc-88pm80x.c
+++ b/
drivers/rtc/rtc-88pm80x.c
@@
-345,7
+345,6
@@
out:
static int pm80x_rtc_remove(struct platform_device *pdev)
{
struct pm80x_rtc_info *info = platform_get_drvdata(pdev);
- platform_set_drvdata(pdev, NULL);
pm80x_free_irq(info->chip, info->irq, info);
return 0;
}