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