diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 06:23:17 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-27 17:30:48 (GMT) |
commit | 14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9 (patch) | |
tree | 422111bb36412a82af3b1efa1a1b4a93cd106dec /drivers/misc/ad525x_dpot-i2c.c | |
parent | 1037b2787b6df12f31b7051f7cdbb289f7972ee7 (diff) | |
download | linux-14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9.tar.xz |
misc: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/ad525x_dpot-i2c.c')
-rw-r--r-- | drivers/misc/ad525x_dpot-i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/ad525x_dpot-i2c.c b/drivers/misc/ad525x_dpot-i2c.c index 705b881..d11187d 100644 --- a/drivers/misc/ad525x_dpot-i2c.c +++ b/drivers/misc/ad525x_dpot-i2c.c @@ -106,7 +106,6 @@ MODULE_DEVICE_TABLE(i2c, ad_dpot_id); static struct i2c_driver ad_dpot_i2c_driver = { .driver = { .name = "ad_dpot", - .owner = THIS_MODULE, }, .probe = ad_dpot_i2c_probe, .remove = ad_dpot_i2c_remove, |