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
@@ -118,7 +118,6 @@ static struct i2c_driver cma3000_i2c_driver = {
|
||||
.id_table = cma3000_i2c_id,
|
||||
.driver = {
|
||||
.name = "cma3000_i2c_accl",
|
||||
.owner = THIS_MODULE,
|
||||
#ifdef CONFIG_PM
|
||||
.pm = &cma3000_i2c_pm_ops,
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user