diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-08-22 12:30:19 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-25 02:53:24 -0400 |
commit | f755d114cba98708932cba89d8c98c4ab89a83b0 (patch) | |
tree | d2762e9c7faf2e27128d84bf0afc52fa66f93164 | |
parent | ec12693e5d03c7e6399ba1e9150908527b809f33 (diff) |
ASoC: cs4349: fix platform_no_drv_owner.cocci warnings
sound/soc/codecs/cs4349.c:389: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: Tim Howe <tim.howe@cirrus.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/cs4349.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs4349.c b/sound/soc/codecs/cs4349.c index 0d010c2b6021..0ac8fc5ed4ae 100644 --- a/sound/soc/codecs/cs4349.c +++ b/sound/soc/codecs/cs4349.c | |||
@@ -378,7 +378,6 @@ MODULE_DEVICE_TABLE(i2c, cs4349_i2c_id); | |||
378 | static struct i2c_driver cs4349_i2c_driver = { | 378 | static struct i2c_driver cs4349_i2c_driver = { |
379 | .driver = { | 379 | .driver = { |
380 | .name = "cs4349", | 380 | .name = "cs4349", |
381 | .owner = THIS_MODULE, | ||
382 | .of_match_table = cs4349_of_match, | 381 | .of_match_table = cs4349_of_match, |
383 | }, | 382 | }, |
384 | .id_table = cs4349_i2c_id, | 383 | .id_table = cs4349_i2c_id, |