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
@@ -1640,7 +1640,6 @@ static struct i2c_driver gp2ap020a00f_driver = {
|
||||
.driver = {
|
||||
.name = GP2A_I2C_NAME,
|
||||
.of_match_table = of_match_ptr(gp2ap020a00f_of_match),
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = gp2ap020a00f_probe,
|
||||
.remove = gp2ap020a00f_remove,
|
||||
|
Reference in New Issue
Block a user