[alsa-devel] [PATCH] ASoC: cs53l30: fix platform_no_drv_owner.cocci warnings

kbuild test robot lkp at intel.com
Tue Jan 26 03:14:18 CET 2016


sound/soc/codecs/cs53l30.c:921:6-11: 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 at cirrus.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

 cs53l30.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/codecs/cs53l30.c
+++ b/sound/soc/codecs/cs53l30.c
@@ -918,7 +918,6 @@ MODULE_DEVICE_TABLE(i2c, cs53l30_id);
 static struct i2c_driver cs53l30_i2c_driver = {
 	.driver = {
 		   .name = "cs53l30",
-		   .owner = THIS_MODULE,
 		   },
 	.id_table = cs53l30_id,
 	.probe = cs53l30_i2c_probe,


More information about the Alsa-devel mailing list