diff options
author | Sanjeev Sharma <sanjeev_sharma@mentor.com> | 2014-08-20 05:32:00 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-08-26 16:08:38 -0400 |
commit | 81816affeacfa360bfefabba774774e95f3dcc12 (patch) | |
tree | 0d05462b9373e4d18381db83d4ebf36fdf720d4a /drivers/iio/accel/hid-sensor-accel-3d.c | |
parent | b4b491c0832ef90a7a5070e5975bc8427f2049ca (diff) |
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/accel/hid-sensor-accel-3d.c')
-rw-r--r-- | drivers/iio/accel/hid-sensor-accel-3d.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/hid-sensor-accel-3d.c b/drivers/iio/accel/hid-sensor-accel-3d.c index 54e464e4bb72..d5d95317003a 100644 --- a/drivers/iio/accel/hid-sensor-accel-3d.c +++ b/drivers/iio/accel/hid-sensor-accel-3d.c | |||
@@ -419,7 +419,6 @@ static struct platform_driver hid_accel_3d_platform_driver = { | |||
419 | .id_table = hid_accel_3d_ids, | 419 | .id_table = hid_accel_3d_ids, |
420 | .driver = { | 420 | .driver = { |
421 | .name = KBUILD_MODNAME, | 421 | .name = KBUILD_MODNAME, |
422 | .owner = THIS_MODULE, | ||
423 | }, | 422 | }, |
424 | .probe = hid_accel_3d_probe, | 423 | .probe = hid_accel_3d_probe, |
425 | .remove = hid_accel_3d_remove, | 424 | .remove = hid_accel_3d_remove, |