mirror of https://gitee.com/openkylin/linux.git
video: fbdev: omap2: dss: 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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
fb04e18e55
commit
f1782b478b
|
@ -244,7 +244,6 @@ static struct platform_driver omap_dss_driver = {
|
|||
.shutdown = omap_dss_shutdown,
|
||||
.driver = {
|
||||
.name = "omapdss",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -3840,7 +3840,6 @@ static struct platform_driver omap_dispchw_driver = {
|
|||
.remove = __exit_p(omap_dispchw_remove),
|
||||
.driver = {
|
||||
.name = "omapdss_dispc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &dispc_pm_ops,
|
||||
.of_match_table = dispc_of_match,
|
||||
},
|
||||
|
|
|
@ -719,7 +719,6 @@ static struct platform_driver omap_dpi_driver = {
|
|||
.remove = __exit_p(omap_dpi_remove),
|
||||
.driver = {
|
||||
.name = "omapdss_dpi",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -5751,7 +5751,6 @@ static struct platform_driver omap_dsihw_driver = {
|
|||
.remove = __exit_p(omap_dsihw_remove),
|
||||
.driver = {
|
||||
.name = "omapdss_dsi",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &dsi_pm_ops,
|
||||
.of_match_table = dsi_of_match,
|
||||
},
|
||||
|
|
|
@ -963,7 +963,6 @@ static struct platform_driver omap_dsshw_driver = {
|
|||
.remove = __exit_p(omap_dsshw_remove),
|
||||
.driver = {
|
||||
.name = "omapdss_dss",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &dss_pm_ops,
|
||||
.of_match_table = dss_of_match,
|
||||
},
|
||||
|
|
|
@ -778,7 +778,6 @@ static struct platform_driver omapdss_hdmihw_driver = {
|
|||
.remove = __exit_p(omapdss_hdmihw_remove),
|
||||
.driver = {
|
||||
.name = "omapdss_hdmi",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &hdmi_pm_ops,
|
||||
.of_match_table = hdmi_of_match,
|
||||
},
|
||||
|
|
|
@ -803,7 +803,6 @@ static struct platform_driver omapdss_hdmihw_driver = {
|
|||
.remove = __exit_p(omapdss_hdmihw_remove),
|
||||
.driver = {
|
||||
.name = "omapdss_hdmi5",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &hdmi_pm_ops,
|
||||
.of_match_table = hdmi_of_match,
|
||||
},
|
||||
|
|
|
@ -1042,7 +1042,6 @@ static struct platform_driver omap_rfbihw_driver = {
|
|||
.remove = __exit_p(omap_rfbihw_remove),
|
||||
.driver = {
|
||||
.name = "omapdss_rfbi",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &rfbi_pm_ops,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -376,7 +376,6 @@ static struct platform_driver omap_sdi_driver = {
|
|||
.remove = __exit_p(omap_sdi_remove),
|
||||
.driver = {
|
||||
.name = "omapdss_sdi",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -963,7 +963,6 @@ static struct platform_driver omap_venchw_driver = {
|
|||
.remove = __exit_p(omap_venchw_remove),
|
||||
.driver = {
|
||||
.name = "omapdss_venc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &venc_pm_ops,
|
||||
.of_match_table = venc_of_match,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue