Re: [alsa-devel] [PATCH] ASoC: sirf: fix platform_no_drv_owner.cocci warnings
From: Barry Song
Date: Thu Jan 15 2015 - 04:13:30 EST
2015-01-15 17:05 GMT+08:00 kbuild test robot <fengguang.wu@xxxxxxxxx>:
> sound/soc/sirf/sirf-atlas7-cs42xx8.c:192: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: Yibo Cai <yibo.cai@xxxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
applied to my tree. thanks, fengguang.
this patch doesn't apply to alsa tree as previous patches are not ready.
> ---
>
> sirf-atlas7-cs42xx8.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/sound/soc/sirf/sirf-atlas7-cs42xx8.c
> +++ b/sound/soc/sirf/sirf-atlas7-cs42xx8.c
> @@ -189,7 +189,6 @@ MODULE_DEVICE_TABLE(of, sirf_hdmi_card_o
> static struct platform_driver sirf_hdmi_card_driver = {
> .driver = {
> .name = "sirf-hdmi-card",
> - .owner = THIS_MODULE,
> .pm = &snd_soc_pm_ops,
> .of_match_table = sirf_hdmi_card_of_match,
> },
-barry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/