* [PATCH] mailbox-Hi6220: Delete owner assignment
@ 2016-08-14 19:18 SF Markus Elfring
2016-08-15 1:49 ` Leo Yan
0 siblings, 1 reply; 2+ messages in thread
From: SF Markus Elfring @ 2016-08-14 19:18 UTC (permalink / raw)
To: Jassi Brar, Leo Yan, kernel-janitors; +Cc: linux-kernel, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 14 Aug 2016 21:08:41 +0200
The field "owner" is set by core. Thus delete an extra initialisation.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/mailbox/hi6220-mailbox.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mailbox/hi6220-mailbox.c b/drivers/mailbox/hi6220-mailbox.c
index 613722d..288c505 100644
--- a/drivers/mailbox/hi6220-mailbox.c
+++ b/drivers/mailbox/hi6220-mailbox.c
@@ -371,7 +371,6 @@ static int hi6220_mbox_remove(struct platform_device *pdev)
static struct platform_driver hi6220_mbox_driver = {
.driver = {
.name = "hi6220-mbox",
- .owner = THIS_MODULE,
.of_match_table = hi6220_mbox_of_match,
},
.probe = hi6220_mbox_probe,
--
2.9.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mailbox-Hi6220: Delete owner assignment
2016-08-14 19:18 [PATCH] mailbox-Hi6220: Delete owner assignment SF Markus Elfring
@ 2016-08-15 1:49 ` Leo Yan
0 siblings, 0 replies; 2+ messages in thread
From: Leo Yan @ 2016-08-15 1:49 UTC (permalink / raw)
To: SF Markus Elfring; +Cc: Jassi Brar, kernel-janitors, linux-kernel, Julia Lawall
On Sun, Aug 14, 2016 at 09:18:53PM +0200, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sun, 14 Aug 2016 21:08:41 +0200
>
> The field "owner" is set by core. Thus delete an extra initialisation.
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---
> drivers/mailbox/hi6220-mailbox.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mailbox/hi6220-mailbox.c b/drivers/mailbox/hi6220-mailbox.c
> index 613722d..288c505 100644
> --- a/drivers/mailbox/hi6220-mailbox.c
> +++ b/drivers/mailbox/hi6220-mailbox.c
> @@ -371,7 +371,6 @@ static int hi6220_mbox_remove(struct platform_device *pdev)
> static struct platform_driver hi6220_mbox_driver = {
> .driver = {
> .name = "hi6220-mbox",
> - .owner = THIS_MODULE,
Thanks.
Acked-by: Leo Yan <leo.yan@linaro.org>
> .of_match_table = hi6220_mbox_of_match,
> },
> .probe = hi6220_mbox_probe,
> --
> 2.9.2
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-15 1:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-14 19:18 [PATCH] mailbox-Hi6220: Delete owner assignment SF Markus Elfring
2016-08-15 1:49 ` Leo Yan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®