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>
This commit is contained in:

committed by
Jonathan Cameron

parent
071667a0fa
commit
2155971a66
@@ -392,7 +392,6 @@ static struct i2c_driver tcs3414_driver = {
|
||||
.driver = {
|
||||
.name = TCS3414_DRV_NAME,
|
||||
.pm = &tcs3414_pm_ops,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = tcs3414_probe,
|
||||
.remove = tcs3414_remove,
|
||||
|
Reference in New Issue
Block a user