diff options
author | Sanjeev Sharma <sanjeev_sharma@mentor.com> | 2014-08-20 11:32:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-08-26 22:08:38 +0200 |
commit | 81816affeacfa360bfefabba774774e95f3dcc12 (patch) | |
tree | 0d05462b9373e4d18381db83d4ebf36fdf720d4a /drivers/iio/gyro/hid-sensor-gyro-3d.c | |
parent | iio: accel: kxcjk-1013: Support thresholds (diff) | |
download | linux-81816affeacfa360bfefabba774774e95f3dcc12.tar.xz linux-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/gyro/hid-sensor-gyro-3d.c')
-rw-r--r-- | drivers/iio/gyro/hid-sensor-gyro-3d.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/gyro/hid-sensor-gyro-3d.c b/drivers/iio/gyro/hid-sensor-gyro-3d.c index fa034a3dad78..a3ea1e8785d7 100644 --- a/drivers/iio/gyro/hid-sensor-gyro-3d.c +++ b/drivers/iio/gyro/hid-sensor-gyro-3d.c @@ -416,7 +416,6 @@ static struct platform_driver hid_gyro_3d_platform_driver = { .id_table = hid_gyro_3d_ids, .driver = { .name = KBUILD_MODNAME, - .owner = THIS_MODULE, }, .probe = hid_gyro_3d_probe, .remove = hid_gyro_3d_remove, |