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/pressure/hid-sensor-press.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/iio/pressure') diff --git a/drivers/iio/pressure/hid-sensor-press.c b/drivers/iio/pressure/hid-sensor-press.c index 2c0d2a4fed8c..764928682df2 100644 --- a/drivers/iio/pressure/hid-sensor-press.c +++ b/drivers/iio/pressure/hid-sensor-press.c @@ -382,7 +382,6 @@ static struct platform_driver hid_press_platform_driver = { .id_table = hid_press_ids, .driver = { .name = KBUILD_MODNAME, - .owner = THIS_MODULE, }, .probe = hid_press_probe, .remove = hid_press_remove, -- cgit v1.2.3