OSDN Git Service

staging: imx-drm: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:38 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:38 +0000 (16:21 +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/staging/imx-drm/imx-drm-core.c
drivers/staging/imx-drm/imx-hdmi.c
drivers/staging/imx-drm/imx-ldb.c
drivers/staging/imx-drm/imx-tve.c
drivers/staging/imx-drm/parallel-display.c

index 9cb222e..ad61735 100644 (file)
@@ -691,7 +691,6 @@ static struct platform_driver imx_drm_pdrv = {
        .probe          = imx_drm_platform_probe,
        .remove         = imx_drm_platform_remove,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "imx-drm",
                .pm     = &imx_drm_pm_ops,
                .of_match_table = imx_drm_dt_ids,
index aaec6b2..ddc53e0 100644 (file)
@@ -1754,7 +1754,6 @@ static struct platform_driver imx_hdmi_driver = {
        .remove = imx_hdmi_platform_remove,
        .driver = {
                .name = "imx-hdmi",
-               .owner = THIS_MODULE,
                .of_match_table = imx_hdmi_dt_ids,
        },
 };
index 4662e00..2638dc1 100644 (file)
@@ -604,7 +604,6 @@ static struct platform_driver imx_ldb_driver = {
        .driver         = {
                .of_match_table = imx_ldb_dt_ids,
                .name   = DRIVER_NAME,
-               .owner  = THIS_MODULE,
        },
 };
 
index 42c651b..64b54d7 100644 (file)
@@ -724,7 +724,6 @@ static struct platform_driver imx_tve_driver = {
        .driver         = {
                .of_match_table = imx_tve_dt_ids,
                .name   = "imx-tve",
-               .owner  = THIS_MODULE,
        },
 };
 
index 015a454..8a76a5c 100644 (file)
@@ -284,7 +284,6 @@ static struct platform_driver imx_pd_driver = {
        .driver         = {
                .of_match_table = imx_pd_dt_ids,
                .name   = "imx-parallel-display",
-               .owner  = THIS_MODULE,
        },
 };