* [PATCH] mailbox: Drop owner assignment from platform_driver
@ 2015-07-10 6:01 Krzysztof Kozlowski
2015-07-24 15:27 ` Lee Jones
2015-07-27 17:28 ` Eric Anholt
0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10 6:01 UTC (permalink / raw)
To: Jassi Brar, Stephen Warren, Lee Jones, open list:MAILBOX API,
moderated list:BROADCOM BCM2835 ARM ARCHITECTURE
Cc: Krzysztof Kozlowski
platform_driver does not need to set an owner because
platform_driver_register() will set it.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
The coccinelle script which generated the patch was sent here:
http://www.spinics.net/lists/kernel/msg2029903.html
---
drivers/mailbox/bcm2835-mailbox.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mailbox/bcm2835-mailbox.c b/drivers/mailbox/bcm2835-mailbox.c
index 0b47dd42f3bd..cfb4b4496dd9 100644
--- a/drivers/mailbox/bcm2835-mailbox.c
+++ b/drivers/mailbox/bcm2835-mailbox.c
@@ -204,7 +204,6 @@ MODULE_DEVICE_TABLE(of, bcm2835_mbox_of_match);
static struct platform_driver bcm2835_mbox_driver = {
.driver = {
.name = "bcm2835-mbox",
- .owner = THIS_MODULE,
.of_match_table = bcm2835_mbox_of_match,
},
.probe = bcm2835_mbox_probe,
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mailbox: Drop owner assignment from platform_driver
2015-07-10 6:01 [PATCH] mailbox: Drop owner assignment from platform_driver Krzysztof Kozlowski
@ 2015-07-24 15:27 ` Lee Jones
2015-07-27 17:28 ` Eric Anholt
1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2015-07-24 15:27 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Jassi Brar, Stephen Warren, open list:MAILBOX API,
moderated list:BROADCOM BCM2835 ARM ARCHITECTURE
On Fri, 10 Jul 2015, Krzysztof Kozlowski wrote:
> platform_driver does not need to set an owner because
> platform_driver_register() will set it.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>
> ---
>
> The coccinelle script which generated the patch was sent here:
> http://www.spinics.net/lists/kernel/msg2029903.html
> ---
> drivers/mailbox/bcm2835-mailbox.c | 1 -
> 1 file changed, 1 deletion(-)
Acked-by: Lee Jones <lee@kernel.org>
> diff --git a/drivers/mailbox/bcm2835-mailbox.c b/drivers/mailbox/bcm2835-mailbox.c
> index 0b47dd42f3bd..cfb4b4496dd9 100644
> --- a/drivers/mailbox/bcm2835-mailbox.c
> +++ b/drivers/mailbox/bcm2835-mailbox.c
> @@ -204,7 +204,6 @@ MODULE_DEVICE_TABLE(of, bcm2835_mbox_of_match);
> static struct platform_driver bcm2835_mbox_driver = {
> .driver = {
> .name = "bcm2835-mbox",
> - .owner = THIS_MODULE,
> .of_match_table = bcm2835_mbox_of_match,
> },
> .probe = bcm2835_mbox_probe,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mailbox: Drop owner assignment from platform_driver
2015-07-10 6:01 [PATCH] mailbox: Drop owner assignment from platform_driver Krzysztof Kozlowski
2015-07-24 15:27 ` Lee Jones
@ 2015-07-27 17:28 ` Eric Anholt
1 sibling, 0 replies; 3+ messages in thread
From: Eric Anholt @ 2015-07-27 17:28 UTC (permalink / raw)
To: Krzysztof Kozlowski, Jassi Brar, Stephen Warren, Lee Jones,
open list:MAILBOX API,
moderated list:BROADCOM BCM2835 ARM ARCHITECTURE
Cc: Krzysztof Kozlowski
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
Krzysztof Kozlowski <k.kozlowski@samsung.com> writes:
> platform_driver does not need to set an owner because
> platform_driver_register() will set it.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-27 17:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-10 6:01 [PATCH] mailbox: Drop owner assignment from platform_driver Krzysztof Kozlowski
2015-07-24 15:27 ` Lee Jones
2015-07-27 17:28 ` Eric Anholt
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.