gpio: 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: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:

committed by
Linus Walleij

parent
c88402c2e6
commit
d9110e9ce7
@@ -447,7 +447,6 @@ static int pcf857x_remove(struct i2c_client *client)
|
||||
static struct i2c_driver pcf857x_driver = {
|
||||
.driver = {
|
||||
.name = "pcf857x",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(pcf857x_of_table),
|
||||
},
|
||||
.probe = pcf857x_probe,
|
||||
|
Reference in New Issue
Block a user