From: Markus Elfring Date: Tue, 16 Aug 2016 05:51:21 +0000 (+0200) Subject: hwrng: pic32 - Delete unnecessary assignment for the field "owner" X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c5f91cde6ba3e16772bca3885a3d51db73ed6a97;p=linux-beck.git hwrng: pic32 - Delete unnecessary assignment for the field "owner" 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/pic32-rng.c b/drivers/char/hw_random/pic32-rng.c index 108897bea2d0..11dc9b7c09ce 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), }, };