From 81816affeacfa360bfefabba774774e95f3dcc12 Mon Sep 17 00:00:00 2001 From: Sanjeev Sharma Date: Wed, 20 Aug 2014 10:32:00 +0100 Subject: 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 Signed-off-by: Jonathan Cameron --- drivers/iio/adc/lp8788_adc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/iio/adc/lp8788_adc.c') diff --git a/drivers/iio/adc/lp8788_adc.c b/drivers/iio/adc/lp8788_adc.c index 5c8c91595f47..152cfc8e1c7b 100644 --- a/drivers/iio/adc/lp8788_adc.c +++ b/drivers/iio/adc/lp8788_adc.c @@ -244,7 +244,6 @@ static struct platform_driver lp8788_adc_driver = { .remove = lp8788_adc_remove, .driver = { .name = LP8788_DEV_ADC, - .owner = THIS_MODULE, }, }; module_platform_driver(lp8788_adc_driver); -- cgit v1.2.3