All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] pinctrl: artpec6: Remove .owner field for driver
@ 2017-04-25  3:30 Wei Yongjun
  2017-04-26 14:27 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2017-04-25  3:30 UTC (permalink / raw)
  To: Jesper Nilsson, Lars Persson, Niklas Cassel, Linus Walleij
  Cc: Wei Yongjun, linux-arm-kernel, linux-gpio

From: Wei Yongjun <weiyongjun1@huawei.com>

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
 drivers/pinctrl/pinctrl-artpec6.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-artpec6.c b/drivers/pinctrl/pinctrl-artpec6.c
index b5a2eff..8b48871 100644
--- a/drivers/pinctrl/pinctrl-artpec6.c
+++ b/drivers/pinctrl/pinctrl-artpec6.c
@@ -967,7 +967,6 @@ static const struct of_device_id artpec6_pinctrl_match[] = {
 static struct platform_driver artpec6_pmx_driver = {
 	.driver = {
 		.name = "artpec6-pinctrl",
-		.owner = THIS_MODULE,
 		.of_match_table = artpec6_pinctrl_match,
 	},
 	.probe = artpec6_pmx_probe,


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

* Re: [PATCH -next] pinctrl: artpec6: Remove .owner field for driver
  2017-04-25  3:30 [PATCH -next] pinctrl: artpec6: Remove .owner field for driver Wei Yongjun
@ 2017-04-26 14:27 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2017-04-26 14:27 UTC (permalink / raw)
  To: Wei Yongjun
  Cc: Jesper Nilsson, Lars Persson, Niklas Cassel, Wei Yongjun,
	linux-arm-kernel, linux-gpio

On Tue, Apr 25, 2017 at 5:30 AM, Wei Yongjun <weiyj.lk@gmail.com> wrote:

> From: Wei Yongjun <weiyongjun1@huawei.com>
>
> Remove .owner field if calls are used which set it automatically.
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>

Patch applied.

Yours,
Linus Walleij

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

end of thread, other threads:[~2017-04-26 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-25  3:30 [PATCH -next] pinctrl: artpec6: Remove .owner field for driver Wei Yongjun
2017-04-26 14:27 ` Linus Walleij

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.