]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 9cb222e2996f5e5391f7832ce9649bff580fd0ce..ad6173500bfc34cac939312807d714d2f8b52cf5 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 aaec6b2cdf562f32c86e981555eef949c9901a2e..ddc53e039530bd4d8897e686894dd6e30359883a 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 4662e00b456a25d4c08b755bc68b6bdbf37e8ed2..2638dc1671d0a60126e9c8c6bf011556a92ffd11 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 42c651be6c2068955df736c05520d1765cad8773..64b54d7f996cbd2ebf331a2e09b44a26f69bbde4 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 015a454b87e16ac1475b56d0d477069bd4b4bdc0..8a76a5c1c34bcb190b579ca351cdd79b03347926 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,
        },
 };