projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dabc790
)
hwrng: pic32 - Delete unnecessary assignment for the field "owner"
author
Markus Elfring
<
[email protected]
>
Tue, 16 Aug 2016 05:51:21 +0000
(07:51 +0200)
committer
Herbert Xu
<
[email protected]
>
Tue, 16 Aug 2016 09:20:19 +0000
(17:20 +0800)
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 <
[email protected]
>
Signed-off-by: Herbert Xu <
[email protected]
>
drivers/char/hw_random/pic32-rng.c
patch
|
blob
|
history
diff --git
a/drivers/char/hw_random/pic32-rng.c
b/drivers/char/hw_random/pic32-rng.c
index 108897bea2d042eeb857bd0a61f0d8458e6c8186..11dc9b7c09cef7dbf168f9cc156b0d7accedfc66 100644
(file)
--- 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),
},
};