diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-08-16 07:51:21 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-16 11:20:19 +0200 |
commit | c5f91cde6ba3e16772bca3885a3d51db73ed6a97 (patch) | |
tree | aa34f0cd3fb5b503ac3ffef246a1b488ebb2ad5f /drivers/char | |
parent | crypto: ccp - Fix non static symbol warning (diff) | |
download | linux-c5f91cde6ba3e16772bca3885a3d51db73ed6a97.tar.xz linux-c5f91cde6ba3e16772bca3885a3d51db73ed6a97.zip |
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 <elfring@users.sourceforge.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/pic32-rng.c | 1 |
1 files changed, 0 insertions, 1 deletions
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), }, }; |