Commit f755d114 authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ec12693e
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment