summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2016-11-10 00:58:40 +0800
committerMark Brown <broonie@kernel.org>2016-11-10 16:13:57 +0000
commit45ee1d855528ebd577d98d2f9481f8778af003a9 (patch)
tree55199f3d4ad607ef9e3fe2b8ff70415c67f9c291 /sound
parentda16c55793539a8c83c81240984915ce6d0140fe (diff)
ASoC: fix platform_no_drv_owner.cocci warnings
sound/soc/codecs/cs42l42.c:1972:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: James Schulman <james.schulman@cirrus.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/cs42l42.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c
index f3c10f5d68c8..55e4520cdcaf 100644
--- a/sound/soc/codecs/cs42l42.c
+++ b/sound/soc/codecs/cs42l42.c
@@ -1969,7 +1969,6 @@ MODULE_DEVICE_TABLE(i2c, cs42l42_id);
static struct i2c_driver cs42l42_i2c_driver = {
.driver = {
.name = "cs42l42",
- .owner = THIS_MODULE,
.pm = &cs42l42_runtime_pm,
.of_match_table = cs42l42_of_match,
},