[alsa-devel] [PATCH] ASoC: sirf: fix platform_no_drv_owner.cocci warnings
Barry Song
21cnbao at gmail.com
Thu Jan 15 10:13:03 CET 2015
2015-01-15 17:05 GMT+08:00 kbuild test robot <fengguang.wu at intel.com>:
> 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 at csr.com>
> Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
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
More information about the Alsa-devel
mailing list