diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-05-05 06:01:25 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 13:43:35 +0300 |
commit | c5cbde2df3951c59dc099dd2e452b534cabd0eb8 (patch) | |
tree | e8acedb0c66523708e41d42d579aaff34df30b8b /arch/powerpc/sysdev/cpm_gpio.c | |
parent | 8a792262f320245de0174e6bcb551312f2e2debe (diff) | |
download | linux-c5cbde2df3951c59dc099dd2e452b534cabd0eb8.tar.xz |
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.c | 1 |
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, }, }; |