diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 08:54:14 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-11 20:50:07 +0300 |
commit | 2155971a66f89924edb37c213251c4fe9f7776c0 (patch) | |
tree | 42b92eae9067751633fcafd8c4090220053c6a35 /drivers/iio/accel/bma180.c | |
parent | 071667a0fae08ed8c9dcdb9ff526dc66888cac4b (diff) | |
download | linux-2155971a66f89924edb37c213251c4fe9f7776c0.tar.xz |
iio: Drop owner assignment from i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/bma180.c')
-rw-r--r-- | drivers/iio/accel/bma180.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/bma180.c b/drivers/iio/accel/bma180.c index 75c6d2103e07..f04b88406995 100644 --- a/drivers/iio/accel/bma180.c +++ b/drivers/iio/accel/bma180.c @@ -846,7 +846,6 @@ MODULE_DEVICE_TABLE(i2c, bma180_ids); static struct i2c_driver bma180_driver = { .driver = { .name = "bma180", - .owner = THIS_MODULE, .pm = BMA180_PM_OPS, }, .probe = bma180_probe, |