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>
This commit is contained in:
parent
ec12693e5d
commit
f755d114cb
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue