Commit 76dab936 authored by Wolfram Sang's avatar Wolfram Sang

staging: imx-drm: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent c85d13ed
...@@ -691,7 +691,6 @@ static struct platform_driver imx_drm_pdrv = { ...@@ -691,7 +691,6 @@ static struct platform_driver imx_drm_pdrv = {
.probe = imx_drm_platform_probe, .probe = imx_drm_platform_probe,
.remove = imx_drm_platform_remove, .remove = imx_drm_platform_remove,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "imx-drm", .name = "imx-drm",
.pm = &imx_drm_pm_ops, .pm = &imx_drm_pm_ops,
.of_match_table = imx_drm_dt_ids, .of_match_table = imx_drm_dt_ids,
......
...@@ -1754,7 +1754,6 @@ static struct platform_driver imx_hdmi_driver = { ...@@ -1754,7 +1754,6 @@ static struct platform_driver imx_hdmi_driver = {
.remove = imx_hdmi_platform_remove, .remove = imx_hdmi_platform_remove,
.driver = { .driver = {
.name = "imx-hdmi", .name = "imx-hdmi",
.owner = THIS_MODULE,
.of_match_table = imx_hdmi_dt_ids, .of_match_table = imx_hdmi_dt_ids,
}, },
}; };
......
...@@ -604,7 +604,6 @@ static struct platform_driver imx_ldb_driver = { ...@@ -604,7 +604,6 @@ static struct platform_driver imx_ldb_driver = {
.driver = { .driver = {
.of_match_table = imx_ldb_dt_ids, .of_match_table = imx_ldb_dt_ids,
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -724,7 +724,6 @@ static struct platform_driver imx_tve_driver = { ...@@ -724,7 +724,6 @@ static struct platform_driver imx_tve_driver = {
.driver = { .driver = {
.of_match_table = imx_tve_dt_ids, .of_match_table = imx_tve_dt_ids,
.name = "imx-tve", .name = "imx-tve",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -284,7 +284,6 @@ static struct platform_driver imx_pd_driver = { ...@@ -284,7 +284,6 @@ static struct platform_driver imx_pd_driver = {
.driver = { .driver = {
.of_match_table = imx_pd_dt_ids, .of_match_table = imx_pd_dt_ids,
.name = "imx-parallel-display", .name = "imx-parallel-display",
.owner = THIS_MODULE,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment