diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-03-24 11:17:17 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-27 22:15:56 -0400 |
commit | c3fd6a1d1a133d191e6fb09d0fe277330f35c525 (patch) | |
tree | 638495f049e5983ab6c33bdc4f5249932f7ee9ef | |
parent | 641eea3f8b95a47d5e5db28dd92a0f586cd85390 (diff) |
ASoC: tscs42xx: Remove owner assignment from i2c_driver
Structure i2c_driver does not need to set the owner field, as this will
be populated by the driver core.
Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/tscs42xx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/tscs42xx.c b/sound/soc/codecs/tscs42xx.c index cfc71b5411ee..bbfc73a79b18 100644 --- a/sound/soc/codecs/tscs42xx.c +++ b/sound/soc/codecs/tscs42xx.c | |||
@@ -1443,7 +1443,6 @@ MODULE_DEVICE_TABLE(of, tscs42xx_of_match); | |||
1443 | static struct i2c_driver tscs42xx_i2c_driver = { | 1443 | static struct i2c_driver tscs42xx_i2c_driver = { |
1444 | .driver = { | 1444 | .driver = { |
1445 | .name = "tscs42xx", | 1445 | .name = "tscs42xx", |
1446 | .owner = THIS_MODULE, | ||
1447 | .of_match_table = tscs42xx_of_match, | 1446 | .of_match_table = tscs42xx_of_match, |
1448 | }, | 1447 | }, |
1449 | .probe = tscs42xx_i2c_probe, | 1448 | .probe = tscs42xx_i2c_probe, |