projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
641eea3
)
ASoC: tscs42xx: Remove owner assignment from i2c_driver
author
Fabio Estevam
<fabio.estevam@nxp.com>
Sat, 24 Mar 2018 15:17:17 +0000
(12:17 -0300)
committer
Mark Brown
<broonie@kernel.org>
Wed, 28 Mar 2018 02:15:56 +0000
(10:15 +0800)
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>
sound/soc/codecs/tscs42xx.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tscs42xx.c
b/sound/soc/codecs/tscs42xx.c
index
cfc71b5
..
bbfc73a
100644
(file)
--- a/
sound/soc/codecs/tscs42xx.c
+++ b/
sound/soc/codecs/tscs42xx.c
@@
-1443,7
+1443,6
@@
MODULE_DEVICE_TABLE(of, tscs42xx_of_match);
static struct i2c_driver tscs42xx_i2c_driver = {
.driver = {
.name = "tscs42xx",
- .owner = THIS_MODULE,
.of_match_table = tscs42xx_of_match,
},
.probe = tscs42xx_i2c_probe,