Input: 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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:

committed by
Dmitry Torokhov

parent
cee3d8ccbe
commit
800e3b9a68
@@ -577,7 +577,6 @@ static const struct of_device_id mms114_dt_match[] = {
|
||||
static struct i2c_driver mms114_driver = {
|
||||
.driver = {
|
||||
.name = "mms114",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &mms114_pm_ops,
|
||||
.of_match_table = of_match_ptr(mms114_dt_match),
|
||||
},
|
||||
|
Reference in New Issue
Block a user