summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/twl4030-madc.c
diff options
context:
space:
mode:
authorSanjeev Sharma <sanjeev_sharma@mentor.com>2014-08-20 11:32:00 +0200
committerJonathan Cameron <jic23@kernel.org>2014-08-26 22:08:38 +0200
commit81816affeacfa360bfefabba774774e95f3dcc12 (patch)
tree0d05462b9373e4d18381db83d4ebf36fdf720d4a /drivers/iio/adc/twl4030-madc.c
parentiio: accel: kxcjk-1013: Support thresholds (diff)
downloadlinux-81816affeacfa360bfefabba774774e95f3dcc12.tar.xz
linux-81816affeacfa360bfefabba774774e95f3dcc12.zip
iio: remove .owner field for driver using module_platform_driver
This patch removes the .owner field for drivers which use the platform_driver_register api because this is overriden in _platform_driver_register. Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/twl4030-madc.c')
-rw-r--r--drivers/iio/adc/twl4030-madc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/twl4030-madc.c b/drivers/iio/adc/twl4030-madc.c
index eb86786e698e..94c5f05b4bc1 100644
--- a/drivers/iio/adc/twl4030-madc.c
+++ b/drivers/iio/adc/twl4030-madc.c
@@ -883,7 +883,6 @@ static struct platform_driver twl4030_madc_driver = {
.remove = twl4030_madc_remove,
.driver = {
.name = "twl4030_madc",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(twl_madc_of_match),
},
};