summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/ti_am335x_adc.c
diff options
context:
space:
mode:
authorSanjeev Sharma <sanjeev_sharma@mentor.com>2014-08-20 10:32:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-08-26 21:08:38 +0100
commit81816affeacfa360bfefabba774774e95f3dcc12 (patch)
tree0d05462b9373e4d18381db83d4ebf36fdf720d4a /drivers/iio/adc/ti_am335x_adc.c
parentb4b491c0832ef90a7a5070e5975bc8427f2049ca (diff)
downloadlinux-stable-81816affeacfa360bfefabba774774e95f3dcc12.tar.gz
linux-stable-81816affeacfa360bfefabba774774e95f3dcc12.tar.bz2
linux-stable-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/ti_am335x_adc.c')
-rw-r--r--drivers/iio/adc/ti_am335x_adc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c
index d5dc4c6ce86c..b730864731e8 100644
--- a/drivers/iio/adc/ti_am335x_adc.c
+++ b/drivers/iio/adc/ti_am335x_adc.c
@@ -545,7 +545,6 @@ MODULE_DEVICE_TABLE(of, ti_adc_dt_ids);
static struct platform_driver tiadc_driver = {
.driver = {
.name = "TI-am335x-adc",
- .owner = THIS_MODULE,
.pm = TIADC_PM_OPS,
.of_match_table = ti_adc_dt_ids,
},