drm: dw-hdmi-i2s: Remove owner assignment from platform_driver
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 15 Mar 2018 18:04:17 +0000 (15:04 -0300)
committerAndrzej Hajda <a.hajda@samsung.com>
Mon, 23 Apr 2018 06:55:21 +0000 (08:55 +0200)
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: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1521137057-14773-1-git-send-email-festevam@gmail.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c

index 3b7e5c59a5e9941df113ff53f4c98664232b5054..8f9c8a6b46de58ce5f25575670ef102d4f879171 100644 (file)
@@ -152,7 +152,6 @@ static struct platform_driver snd_dw_hdmi_driver = {
        .remove = snd_dw_hdmi_remove,
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
        },
 };
 module_platform_driver(snd_dw_hdmi_driver);