diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 07:54:14 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-11 19:50:07 +0200 |
commit | 2155971a66f89924edb37c213251c4fe9f7776c0 (patch) | |
tree | 42b92eae9067751633fcafd8c4090220053c6a35 /drivers/iio/magnetometer | |
parent | staging: iio: Drop owner assignment from i2c_driver (diff) | |
download | linux-2155971a66f89924edb37c213251c4fe9f7776c0.tar.xz linux-2155971a66f89924edb37c213251c4fe9f7776c0.zip |
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/magnetometer')
-rw-r--r-- | drivers/iio/magnetometer/st_magn_i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/magnetometer/st_magn_i2c.c b/drivers/iio/magnetometer/st_magn_i2c.c index 5311d8aea8cc..28aa80731cea 100644 --- a/drivers/iio/magnetometer/st_magn_i2c.c +++ b/drivers/iio/magnetometer/st_magn_i2c.c @@ -85,7 +85,6 @@ MODULE_DEVICE_TABLE(i2c, st_magn_id_table); static struct i2c_driver st_magn_driver = { .driver = { - .owner = THIS_MODULE, .name = "st-magn-i2c", .of_match_table = of_match_ptr(st_magn_of_match), }, |