All of lore.kernel.org
 help / color / mirror / Atom feed
* [renesas-drivers:sh-pfc-for-v4.20 24/25] drivers/pinctrl/pinctrl-rzn1.c:935:3-8: No need to set .owner here. The core will do it.
@ 2018-10-10 16:02 kbuild test robot
  2018-10-10 16:02 ` [PATCH] pinctrl: renesas: fix platform_no_drv_owner.cocci warnings kbuild test robot
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2018-10-10 16:02 UTC (permalink / raw)
  To: Phil Edworthy
  Cc: kbuild-all, linux-renesas-soc, Geert Uytterhoeven, Jacopo Mondi

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


coccinelle warnings: (new ones prefixed by >>)

>> drivers/pinctrl/pinctrl-rzn1.c:935:3-8: No need to set .owner here. The core will do it.

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] pinctrl: renesas: fix platform_no_drv_owner.cocci warnings
  2018-10-10 16:02 [renesas-drivers:sh-pfc-for-v4.20 24/25] drivers/pinctrl/pinctrl-rzn1.c:935:3-8: No need to set .owner here. The core will do it kbuild test robot
@ 2018-10-10 16:02 ` kbuild test robot
  2018-10-11  9:39   ` Phil Edworthy
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2018-10-10 16:02 UTC (permalink / raw)
  To: Phil Edworthy
  Cc: kbuild-all, linux-renesas-soc, Geert Uytterhoeven, Jacopo Mondi

From: kbuild test robot <fengguang.wu@intel.com>

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.edworthy@renesas.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.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,
 	},
 };

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] pinctrl: renesas: fix platform_no_drv_owner.cocci warnings
  2018-10-10 16:02 ` [PATCH] pinctrl: renesas: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2018-10-11  9:39   ` Phil Edworthy
  0 siblings, 0 replies; 3+ messages in thread
From: Phil Edworthy @ 2018-10-11  9:39 UTC (permalink / raw)
  To: kbuild test robot, Geert Uytterhoeven
  Cc: kbuild-all@01.org, linux-renesas-soc@vger.kernel.org,
	Jacopo Mondi

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.edworthy@renesas.com>
> Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Reviewed-by: Phil Edworthy <phil.edworthy@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,
>  	},
>  };

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-11 17:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-10 16:02 [renesas-drivers:sh-pfc-for-v4.20 24/25] drivers/pinctrl/pinctrl-rzn1.c:935:3-8: No need to set .owner here. The core will do it kbuild test robot
2018-10-10 16:02 ` [PATCH] pinctrl: renesas: fix platform_no_drv_owner.cocci warnings kbuild test robot
2018-10-11  9:39   ` Phil Edworthy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.