From: kbuild test robot Date: Thu, 4 Jun 2015 17:11:27 +0000 (+0800) Subject: ASoC: zx: fix platform_no_drv_owner.cocci warnings X-Git-Tag: firefly_0821_release~176^2~1082^2~116^2^4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=67f72776b6674ca2b4602996bd3e235a4f38c4b4;p=firefly-linux-kernel-4.4.55.git ASoC: zx: fix platform_no_drv_owner.cocci warnings sound/soc/zte/zx296702-i2s.c:428: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 Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown --- diff --git a/sound/soc/zte/zx296702-i2s.c b/sound/soc/zte/zx296702-i2s.c index 472fde3b6c58..98d96e1b17e0 100644 --- a/sound/soc/zte/zx296702-i2s.c +++ b/sound/soc/zte/zx296702-i2s.c @@ -425,7 +425,6 @@ static struct platform_driver i2s_driver = { .probe = zx_i2s_probe, .driver = { .name = "zx-i2s", - .owner = THIS_MODULE, .of_match_table = zx_i2s_dt_ids, }, };