linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH] powerpc/powernv: Drop owner assignment from platform_driver
@ 2015-11-19  4:00 Krzysztof Kozlowski
  2015-11-26 12:15 ` [RESEND] " Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2015-11-19  4:00 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman,
	linuxppc-dev, linux-kernel
  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
---
 arch/powerpc/platforms/powernv/opal-prd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/platforms/powernv/opal-prd.c b/arch/powerpc/platforms/powernv/opal-prd.c
index 4ece8e40dd54..e315e704cca7 100644
--- a/arch/powerpc/platforms/powernv/opal-prd.c
+++ b/arch/powerpc/platforms/powernv/opal-prd.c
@@ -434,7 +434,6 @@ static const struct of_device_id opal_prd_match[] = {
 static struct platform_driver opal_prd_driver = {
 	.driver = {
 		.name		= "opal-prd",
-		.owner		= THIS_MODULE,
 		.of_match_table	= opal_prd_match,
 	},
 	.probe	= opal_prd_probe,
-- 
1.9.1

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

* Re: [RESEND] powerpc/powernv: Drop owner assignment from platform_driver
  2015-11-19  4:00 [RESEND PATCH] powerpc/powernv: Drop owner assignment from platform_driver Krzysztof Kozlowski
@ 2015-11-26 12:15 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2015-11-26 12:15 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Benjamin Herrenschmidt, Paul Mackerras,
	linuxppc-dev, linux-kernel
  Cc: Krzysztof Kozlowski

On Thu, 2015-19-11 at 04:00:39 UTC, 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>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/87630eb1d5ab76fc39e78529

cheers

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

end of thread, other threads:[~2015-11-26 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-19  4:00 [RESEND PATCH] powerpc/powernv: Drop owner assignment from platform_driver Krzysztof Kozlowski
2015-11-26 12:15 ` [RESEND] " Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).