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 37c8bd6..2b959ae 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 bc08b5f..2a9501d 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 72cf892..0dfe51a 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,
        }
 };