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/twl4030-madc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/iio/adc/twl4030-madc.c') 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), }, }; -- cgit v1.2.1