Browse Source

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>
kbuild test robot 10 years ago
parent
commit
f755d114cb
1 changed files with 0 additions and 1 deletions
  1. 0 1
      sound/soc/codecs/cs4349.c

+ 0 - 1
sound/soc/codecs/cs4349.c

@@ -378,7 +378,6 @@ MODULE_DEVICE_TABLE(i2c, cs4349_i2c_id);
 static struct i2c_driver cs4349_i2c_driver = {
 	.driver = {
 		.name		= "cs4349",
-		.owner		= THIS_MODULE,
 		.of_match_table	= cs4349_of_match,
 	},
 	.id_table	= cs4349_i2c_id,