Эх сурвалжийг харах

video: fbdev: omap2: displays-new: 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>
Wolfram Sang 10 жил өмнө
parent
commit
fb04e18e55

+ 0 - 1
drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c

@@ -306,7 +306,6 @@ static struct platform_driver tvc_connector_driver = {
 	.remove	= __exit_p(tvc_remove),
 	.remove	= __exit_p(tvc_remove),
 	.driver	= {
 	.driver	= {
 		.name	= "connector-analog-tv",
 		.name	= "connector-analog-tv",
-		.owner	= THIS_MODULE,
 		.of_match_table = tvc_of_match,
 		.of_match_table = tvc_of_match,
 	},
 	},
 };
 };

+ 0 - 1
drivers/video/fbdev/omap2/displays-new/connector-dvi.c

@@ -389,7 +389,6 @@ static struct platform_driver dvi_connector_driver = {
 	.remove	= __exit_p(dvic_remove),
 	.remove	= __exit_p(dvic_remove),
 	.driver	= {
 	.driver	= {
 		.name	= "connector-dvi",
 		.name	= "connector-dvi",
-		.owner	= THIS_MODULE,
 		.of_match_table = dvic_of_match,
 		.of_match_table = dvic_of_match,
 	},
 	},
 };
 };

+ 0 - 1
drivers/video/fbdev/omap2/displays-new/connector-hdmi.c

@@ -435,7 +435,6 @@ static struct platform_driver hdmi_connector_driver = {
 	.remove	= __exit_p(hdmic_remove),
 	.remove	= __exit_p(hdmic_remove),
 	.driver	= {
 	.driver	= {
 		.name	= "connector-hdmi",
 		.name	= "connector-hdmi",
-		.owner	= THIS_MODULE,
 		.of_match_table = hdmic_of_match,
 		.of_match_table = hdmic_of_match,
 	},
 	},
 };
 };

+ 0 - 1
drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c

@@ -296,7 +296,6 @@ static struct platform_driver tfp410_driver = {
 	.remove	= __exit_p(tfp410_remove),
 	.remove	= __exit_p(tfp410_remove),
 	.driver	= {
 	.driver	= {
 		.name	= "tfp410",
 		.name	= "tfp410",
-		.owner	= THIS_MODULE,
 		.of_match_table = tfp410_of_match,
 		.of_match_table = tfp410_of_match,
 	},
 	},
 };
 };

+ 0 - 1
drivers/video/fbdev/omap2/displays-new/encoder-tpd12s015.c

@@ -459,7 +459,6 @@ static struct platform_driver tpd_driver = {
 	.remove	= __exit_p(tpd_remove),
 	.remove	= __exit_p(tpd_remove),
 	.driver	= {
 	.driver	= {
 		.name	= "tpd12s015",
 		.name	= "tpd12s015",
-		.owner	= THIS_MODULE,
 		.of_match_table = tpd_of_match,
 		.of_match_table = tpd_of_match,
 	},
 	},
 };
 };

+ 0 - 1
drivers/video/fbdev/omap2/displays-new/panel-dpi.c

@@ -325,7 +325,6 @@ static struct platform_driver panel_dpi_driver = {
 	.remove = __exit_p(panel_dpi_remove),
 	.remove = __exit_p(panel_dpi_remove),
 	.driver = {
 	.driver = {
 		.name = "panel-dpi",
 		.name = "panel-dpi",
-		.owner = THIS_MODULE,
 		.of_match_table = panel_dpi_of_match,
 		.of_match_table = panel_dpi_of_match,
 	},
 	},
 };
 };

+ 0 - 1
drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c

@@ -1376,7 +1376,6 @@ static struct platform_driver dsicm_driver = {
 	.remove = __exit_p(dsicm_remove),
 	.remove = __exit_p(dsicm_remove),
 	.driver = {
 	.driver = {
 		.name = "panel-dsi-cm",
 		.name = "panel-dsi-cm",
-		.owner = THIS_MODULE,
 		.of_match_table = dsicm_of_match,
 		.of_match_table = dsicm_of_match,
 	},
 	},
 };
 };

+ 0 - 1
drivers/video/fbdev/omap2/displays-new/panel-sharp-ls037v7dw01.c

@@ -408,7 +408,6 @@ static struct platform_driver sharp_ls_driver = {
 	.remove = __exit_p(sharp_ls_remove),
 	.remove = __exit_p(sharp_ls_remove),
 	.driver = {
 	.driver = {
 		.name = "panel-sharp-ls037v7dw01",
 		.name = "panel-sharp-ls037v7dw01",
-		.owner = THIS_MODULE,
 		.of_match_table = sharp_ls_of_match,
 		.of_match_table = sharp_ls_of_match,
 	},
 	},
 };
 };