]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
media: platform: s5p-tv: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:49 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:49 +0000 (16:20 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/media/platform/s5p-tv/hdmi_drv.c
drivers/media/platform/s5p-tv/mixer_drv.c
drivers/media/platform/s5p-tv/sdo_drv.c

index 37c8bd694c5f250c0e7d64f8a601cb14d5c93bcd..2b959ae4e62f26c94a5ed024589f2824cbc239e5 100644 (file)
@@ -1046,7 +1046,6 @@ static struct platform_driver hdmi_driver __refdata = {
        .id_table = hdmi_driver_types,
        .driver = {
                .name = "s5p-hdmi",
-               .owner = THIS_MODULE,
                .pm = &hdmi_pm_ops,
        }
 };
index bc08b5f28e447795b4c7d61526666ca551194e26..2a9501d7e7c832dce65c44d86631064bcb1e251c 100644 (file)
@@ -487,7 +487,6 @@ static struct platform_driver mxr_driver __refdata = {
        .remove = mxr_remove,
        .driver = {
                .name = MXR_DRIVER_NAME,
-               .owner = THIS_MODULE,
                .pm = &mxr_pm_ops,
        }
 };
index 72cf892dd0089af58d9d2eac6bf533b881b1d6bd..0dfe51a9ca067caa581b1cc4f4a501e8f9073b3f 100644 (file)
@@ -482,7 +482,6 @@ static struct platform_driver sdo_driver __refdata = {
        .remove = sdo_remove,
        .driver = {
                .name = "s5p-sdo",
-               .owner = THIS_MODULE,
                .pm = &sdo_pm_ops,
        }
 };