Re: [PATCH -next] regulator: bd71815: fix platform_no_drv_owner.cocci warnings
From: Mark Brown
Date: Fri May 28 2021 - 12:04:38 EST
From: Mark Brown,,, <broonie@xxxxxxxxxx>
On Thu, 27 May 2021 17:54:04 +0800, Zou Wei wrote:
> ./drivers/regulator/bd71815-regulator.c:644: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
Applied, thanks!
[1/1] regulator: bd71815: fix platform_no_drv_owner.cocci warnings
commit: d149b855b955fe92ab16ddd59c1d540f82e6a40f
Best regards,
--
Mark Brown,,, <broonie@xxxxxxxxxx>