2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-16 17:43:56 +08:00

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>
This commit is contained in:
Fabio Estevam 2015-05-09 08:51:23 -03:00 committed by Shawn Guo
parent f2f5549994
commit cb2e1a234c

View File

@ -464,7 +464,6 @@ static const struct of_device_id imx_gpc_dt_ids[] = {
static struct platform_driver imx_gpc_driver = { static struct platform_driver imx_gpc_driver = {
.driver = { .driver = {
.name = "imx-gpc", .name = "imx-gpc",
.owner = THIS_MODULE,
.of_match_table = imx_gpc_dt_ids, .of_match_table = imx_gpc_dt_ids,
}, },
.probe = imx_gpc_probe, .probe = imx_gpc_probe,