projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d09162
)
drivers/rtc/rtc-cmos.c: remove redundant dev_set_drvdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 12 Nov 2013 23:10:32 +0000
(15:10 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:27 +0000
(12:09 +0900)
Driver core sets the driver data to NULL upon device_release or on probe
failure.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
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>
drivers/rtc/rtc-cmos.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-cmos.c
b/drivers/rtc/rtc-cmos.c
index 24e733c98f8b69dd13b0b51ef4eab968068a4b85..79680b1d4d749d2f0fe99f2bf97f2d03e7a392a6 100644
(file)
--- a/
drivers/rtc/rtc-cmos.c
+++ b/
drivers/rtc/rtc-cmos.c
@@
-789,7
+789,6
@@
static void __exit cmos_do_remove(struct device *dev)
cmos->iomem = NULL;
cmos->dev = NULL;
- dev_set_drvdata(dev, NULL);
}
#ifdef CONFIG_PM