RE: [PATCH] ASoC: rt5663: fix platform_no_drv_owner.cocci warnings

From: Bard Liao
Date: Sun Sep 18 2016 - 22:03:45 EST


> -----Original Message-----
> From: kbuild test robot [mailto:lkp@xxxxxxxxx]
> Sent: Saturday, September 17, 2016 10:45 AM
> To: Wei Yongjun
> Cc: kbuild-all@xxxxxx; Bard Liao; Oder Chiou; Liam Girdwood; Mark Brown;
> Jaroslav Kysela; Takashi Iwai; Wei Yongjun; alsa-devel@xxxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx
> Subject: [PATCH] ASoC: rt5663: fix platform_no_drv_owner.cocci warnings
>
> sound/soc/codecs/rt5663.c:3203: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: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>

Acked-by: Bard Liao <bardliao@xxxxxxxxxxx>