drm/etnaviv: remove owner assignment from platform_driver
authorFabio Estevam <festevam@gmail.com>
Fri, 8 Jan 2016 13:52:04 +0000 (11:52 -0200)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 25 Jan 2016 13:23:46 +0000 (14:23 +0100)
This platform_driver does not need to set an owner as it will be
populated by the driver core.

Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_drv.c

index 5c89ebb..e885898 100644 (file)
@@ -668,7 +668,6 @@ static struct platform_driver etnaviv_platform_driver = {
        .probe      = etnaviv_pdev_probe,
        .remove     = etnaviv_pdev_remove,
        .driver     = {
-               .owner  = THIS_MODULE,
                .name   = "etnaviv",
                .of_match_table = dt_match,
        },