diff options
author | Sanjeev Sharma <sanjeev_sharma@mentor.com> | 2014-08-20 13:32:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-08-27 00:08:38 +0400 |
commit | 81816affeacfa360bfefabba774774e95f3dcc12 (patch) | |
tree | 0d05462b9373e4d18381db83d4ebf36fdf720d4a /drivers/iio/adc/viperboard_adc.c | |
parent | b4b491c0832ef90a7a5070e5975bc8427f2049ca (diff) | |
download | linux-81816affeacfa360bfefabba774774e95f3dcc12.tar.xz |
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/viperboard_adc.c')
-rw-r--r-- | drivers/iio/adc/viperboard_adc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/viperboard_adc.c b/drivers/iio/adc/viperboard_adc.c index 9acf6b6d705b..3be2e35721cc 100644 --- a/drivers/iio/adc/viperboard_adc.c +++ b/drivers/iio/adc/viperboard_adc.c @@ -145,7 +145,6 @@ static int vprbrd_adc_probe(struct platform_device *pdev) static struct platform_driver vprbrd_adc_driver = { .driver = { .name = "viperboard-adc", - .owner = THIS_MODULE, }, .probe = vprbrd_adc_probe, }; |