Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH] hwrng-PIC32: Delete unnecessary assignment for the field "owner"
@ 2016-08-16  6:04 SF Markus Elfring
  2016-08-16  9:59 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: SF Markus Elfring @ 2016-08-16  6:04 UTC (permalink / raw)
  To: linux-crypto, Daniel Thompson, Herbert Xu, Joshua Henderson,
	Matt Mackall, Purna Chandra Mandal
  Cc: LKML, kernel-janitors, Julia Lawall

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 16 Aug 2016 07:51:21 +0200

The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 drivers/char/hw_random/pic32-rng.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/char/hw_random/pic32-rng.c b/drivers/char/hw_random/pic32-rng.c
index 108897b..11dc9b7 100644
--- a/drivers/char/hw_random/pic32-rng.c
+++ b/drivers/char/hw_random/pic32-rng.c
@@ -143,7 +143,6 @@ static struct platform_driver pic32_rng_driver = {
 	.remove		= pic32_rng_remove,
 	.driver		= {
 		.name	= "pic32-rng",
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(pic32_rng_of_match),
 	},
 };
-- 
2.9.2

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

end of thread, other threads:[~2016-08-16  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16  6:04 [PATCH] hwrng-PIC32: Delete unnecessary assignment for the field "owner" SF Markus Elfring
2016-08-16  9:59 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox