summaryrefslogtreecommitdiffstats
path: root/drivers/uio
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-03-24 16:39:13 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 13:31:27 +0200
commitf4eebb60a3423d8ac2b8146caedbea635192e3cb (patch)
treeeb671ea7857b9ab04724626ec44e36dc868d2fbd /drivers/uio
parent2c363576dbc9182dc4aec082484265229581690a (diff)
downloadlinux-stable-f4eebb60a3423d8ac2b8146caedbea635192e3cb.tar.gz
linux-stable-f4eebb60a3423d8ac2b8146caedbea635192e3cb.tar.bz2
linux-stable-f4eebb60a3423d8ac2b8146caedbea635192e3cb.zip
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>
Diffstat (limited to 'drivers/uio')
-rw-r--r--drivers/uio/uio_fsl_elbc_gpcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/uio/uio_fsl_elbc_gpcm.c b/drivers/uio/uio_fsl_elbc_gpcm.c
index b46323d9dc18..b55191335d90 100644
--- a/drivers/uio/uio_fsl_elbc_gpcm.c
+++ b/drivers/uio/uio_fsl_elbc_gpcm.c
@@ -475,7 +475,6 @@ MODULE_DEVICE_TABLE(of, uio_fsl_elbc_gpcm_match);
static struct platform_driver uio_fsl_elbc_gpcm_driver = {
.driver = {
.name = "fsl,elbc-gpcm-uio",
- .owner = THIS_MODULE,
.of_match_table = uio_fsl_elbc_gpcm_match,
},
.probe = uio_fsl_elbc_gpcm_probe,