summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:39 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:39 +0200
commit770ca15c0369b9237bf143e3f9c1f5a406cb45b4 (patch)
tree30529f3ea016cf8a72fbe70a8fda15f5cee62d07 /drivers/iio
parentide: drop owner assignment from platform_drivers (diff)
downloadlinux-770ca15c0369b9237bf143e3f9c1f5a406cb45b4.tar.xz
linux-770ca15c0369b9237bf143e3f9c1f5a406cb45b4.zip
iio: adc: drop owner assignment from platform_drivers
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>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/rockchip_saradc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c
index e074a0b03f28..63a9797775cb 100644
--- 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,
},