Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabio Estevam and committed by
Michael Ellerman
c5cbde2d 8a792262

-1
-1
arch/powerpc/sysdev/cpm_gpio.c
··· 63 63 .probe = cpm_gpio_probe, 64 64 .driver = { 65 65 .name = "cpm-gpio", 66 - .owner = THIS_MODULE, 67 66 .of_match_table = cpm_gpio_match, 68 67 }, 69 68 };