On 10 October 2018 17:03 kbuild test robot wrote:
> drivers/pinctrl/pinctrl-rzn1.c:935: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
> 
> Fixes: 4e53b5004745 ("pinctrl: renesas: Renesas RZ/N1 pinctrl driver")
> CC: Phil Edworthy <phil.edwor...@renesas.com>
> Signed-off-by: kbuild test robot <fengguang...@intel.com>
Reviewed-by: Phil Edworthy <phil.edwor...@renesas.com>


> ---
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-
> drivers.git sh-pfc-for-v4.20
> head:   ef26d96023a4c34b1bcc4294f570df2b63a1b952
> commit: 4e53b5004745ef26a37bca4933b2d3ea71313f2a [24/25] pinctrl:
> renesas: Renesas RZ/N1 pinctrl driver
> 
>  pinctrl-rzn1.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> --- a/drivers/pinctrl/pinctrl-rzn1.c
> +++ b/drivers/pinctrl/pinctrl-rzn1.c
> @@ -932,7 +932,6 @@ static struct platform_driver rzn1_pinct
>       .remove = rzn1_pinctrl_remove,
>       .driver = {
>               .name           = "rzn1-pinctrl",
> -             .owner          = THIS_MODULE,
>               .of_match_table = rzn1_pinctrl_match,
>       },
>  };

Reply via email to