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

uio: uio_fsl_elbc_gpcm: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Fabio Estevam and committed by
Greg Kroah-Hartman
f4eebb60 2c363576

-1
-1
drivers/uio/uio_fsl_elbc_gpcm.c
··· 475 475 static struct platform_driver uio_fsl_elbc_gpcm_driver = { 476 476 .driver = { 477 477 .name = "fsl,elbc-gpcm-uio", 478 - .owner = THIS_MODULE, 479 478 .of_match_table = uio_fsl_elbc_gpcm_match, 480 479 }, 481 480 .probe = uio_fsl_elbc_gpcm_probe,