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:
35316c9
)
iio: adc: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:39 +0000
(16:20 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:39 +0000
(16:20 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/iio/adc/rockchip_saradc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/rockchip_saradc.c
b/drivers/iio/adc/rockchip_saradc.c
index e074a0b03f284670ca708dad5c1b1a4aed1c315a..63a9797775cb7f8c361d064b219bee6513fb2712 100644
(file)
--- a/
drivers/iio/adc/rockchip_saradc.c
+++ b/
drivers/iio/adc/rockchip_saradc.c
@@
-307,7
+307,6
@@
static struct platform_driver rockchip_saradc_driver = {
.remove = rockchip_saradc_remove,
.driver = {
.name = "rockchip-saradc",
- .owner = THIS_MODULE,
.of_match_table = rockchip_saradc_match,
.pm = &rockchip_saradc_pm_ops,
},