aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/cpm_gpio.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-05-05 00:01:25 -0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-06-03 20:43:35 +1000
commitc5cbde2df3951c59dc099dd2e452b534cabd0eb8 (patch)
treee8acedb0c66523708e41d42d579aaff34df30b8b /arch/powerpc/sysdev/cpm_gpio.c
parentpowerpc/xive: Remove (almost) unused macros (diff)
downloadlinux-dev-c5cbde2df3951c59dc099dd2e452b534cabd0eb8.tar.xz
linux-dev-c5cbde2df3951c59dc099dd2e452b534cabd0eb8.zip
powerpc: cpm_gpio: Remove owner assignment from platform_driver
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>
Diffstat (limited to 'arch/powerpc/sysdev/cpm_gpio.c')
-rw-r--r--arch/powerpc/sysdev/cpm_gpio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/cpm_gpio.c b/arch/powerpc/sysdev/cpm_gpio.c
index 0badc90be666..0695d26bd301 100644
--- 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,
},
};