summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/gpc.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-05-09 08:51:23 -0300
committerShawn Guo <shawn.guo@linaro.org>2015-05-11 21:38:25 +0800
commitcb2e1a234c163d429712c0fa8eef8ab01499b738 (patch)
tree3b16154ec80bfb1dacc7af44185f34b37ff4436d /arch/arm/mach-imx/gpc.c
parentf2f55499942a0629e7940fe4d4e2cd654bc03790 (diff)
downloadtalos-op-linux-cb2e1a234c163d429712c0fa8eef8ab01499b738.tar.gz
talos-op-linux-cb2e1a234c163d429712c0fa8eef8ab01499b738.zip
ARM: imx: gpc: Remove .owner field
This platform_driver does not need to set an owner as it will be populated by the driver core. The semantic patch that makes this change is available in scripts/coccinelle/api/platform_no_drv_owner.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/gpc.c')
-rw-r--r--arch/arm/mach-imx/gpc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/gpc.c b/arch/arm/mach-imx/gpc.c
index 4d60005e9277..c478a20c898e 100644
--- a/arch/arm/mach-imx/gpc.c
+++ b/arch/arm/mach-imx/gpc.c
@@ -464,7 +464,6 @@ static const struct of_device_id imx_gpc_dt_ids[] = {
static struct platform_driver imx_gpc_driver = {
.driver = {
.name = "imx-gpc",
- .owner = THIS_MODULE,
.of_match_table = imx_gpc_dt_ids,
},
.probe = imx_gpc_probe,
OpenPOWER on IntegriCloud