diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 14:54:14 +0900 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-11 18:50:07 +0100 |
commit | 2155971a66f89924edb37c213251c4fe9f7776c0 (patch) | |
tree | 42b92eae9067751633fcafd8c4090220053c6a35 /drivers/iio/light/vcnl4000.c | |
parent | 071667a0fae08ed8c9dcdb9ff526dc66888cac4b (diff) | |
download | talos-obmc-linux-2155971a66f89924edb37c213251c4fe9f7776c0.tar.gz talos-obmc-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/light/vcnl4000.c')
-rw-r--r-- | drivers/iio/light/vcnl4000.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/vcnl4000.c b/drivers/iio/light/vcnl4000.c index d948c4778ba6..c9d85bbc9230 100644 --- a/drivers/iio/light/vcnl4000.c +++ b/drivers/iio/light/vcnl4000.c @@ -185,7 +185,6 @@ static int vcnl4000_probe(struct i2c_client *client, static struct i2c_driver vcnl4000_driver = { .driver = { .name = VCNL4000_DRV_NAME, - .owner = THIS_MODULE, }, .probe = vcnl4000_probe, .id_table = vcnl4000_id, |