ASoC: drivers: 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: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
a5e412a99c
commit
1c07a4de5b
@@ -5273,7 +5273,6 @@ static int rt5677_i2c_remove(struct i2c_client *i2c)
|
||||
static struct i2c_driver rt5677_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "rt5677",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = rt5677_i2c_probe,
|
||||
.remove = rt5677_i2c_remove,
|
||||
|
Reference in New Issue
Block a user