projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a79226
)
powerpc: cpm_gpio: Remove owner assignment from platform_driver
author
Fabio Estevam
<fabio.estevam@nxp.com>
Sat, 5 May 2018 03:01:25 +0000
(
00:01
-0300)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Sun, 3 Jun 2018 10:43:35 +0000
(20:43 +1000)
Structure platform_driver does not need to set the owner field, as this
will be populated by the driver core.
Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/cpm_gpio.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/cpm_gpio.c
b/arch/powerpc/sysdev/cpm_gpio.c
index 0badc90be66681302e8999e998b8c4167bc72207..0695d26bd301d8ab2cc7e0070e2aca8c1fa4ed1f 100644
(file)
--- a/
arch/powerpc/sysdev/cpm_gpio.c
+++ b/
arch/powerpc/sysdev/cpm_gpio.c
@@
-63,7
+63,6
@@
static struct platform_driver cpm_gpio_driver = {
.probe = cpm_gpio_probe,
.driver = {
.name = "cpm-gpio",
- .owner = THIS_MODULE,
.of_match_table = cpm_gpio_match,
},
};