linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: Drop owner assignment from platform_driver
@ 2015-07-10  5:46 Krzysztof Kozlowski
  2015-07-10  6:30 ` Boris Brezillon
  2015-07-14  7:01 ` Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-10  5:46 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Boris BREZILLON, Arnaud Ebalard,
	Vladimir Zapolskiy, linux-crypto, 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
---
 drivers/crypto/marvell/cesa.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c
index 1c6f98dd88f4..0643e3366e33 100644
--- a/drivers/crypto/marvell/cesa.c
+++ b/drivers/crypto/marvell/cesa.c
@@ -533,7 +533,6 @@ static struct platform_driver marvell_cesa = {
 	.probe		= mv_cesa_probe,
 	.remove		= mv_cesa_remove,
 	.driver		= {
-		.owner	= THIS_MODULE,
 		.name	= "marvell-cesa",
 		.of_match_table = mv_cesa_of_match_table,
 	},
-- 
1.9.1

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

end of thread, other threads:[~2015-07-14  7:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-10  5:46 [PATCH] crypto: Drop owner assignment from platform_driver Krzysztof Kozlowski
2015-07-10  6:30 ` Boris Brezillon
2015-07-14  7:01 ` Herbert Xu

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).