aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/omap2/displays/panel-generic-dpi.c4
-rw-r--r--drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c4
-rw-r--r--drivers/video/omap2/displays/panel-taal.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c
index 2251f73f366d..27b9943eb48f 100644
--- a/drivers/video/omap2/displays/panel-generic-dpi.c
+++ b/drivers/video/omap2/displays/panel-generic-dpi.c
@@ -286,7 +286,7 @@ static int generic_dpi_panel_probe(struct omap_dss_device *dssdev)
286 return 0; 286 return 0;
287} 287}
288 288
289static void generic_dpi_panel_remove(struct omap_dss_device *dssdev) 289static void __exit generic_dpi_panel_remove(struct omap_dss_device *dssdev)
290{ 290{
291 struct panel_drv_data *drv_data = dev_get_drvdata(&dssdev->dev); 291 struct panel_drv_data *drv_data = dev_get_drvdata(&dssdev->dev);
292 292
@@ -359,7 +359,7 @@ static int generic_dpi_panel_check_timings(struct omap_dss_device *dssdev,
359 359
360static struct omap_dss_driver dpi_driver = { 360static struct omap_dss_driver dpi_driver = {
361 .probe = generic_dpi_panel_probe, 361 .probe = generic_dpi_panel_probe,
362 .remove = generic_dpi_panel_remove, 362 .remove = __exit_p(generic_dpi_panel_remove),
363 363
364 .enable = generic_dpi_panel_enable, 364 .enable = generic_dpi_panel_enable,
365 .disable = generic_dpi_panel_disable, 365 .disable = generic_dpi_panel_disable,
diff --git a/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c b/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c
index bc142a0b0651..ba38b3ad17d6 100644
--- a/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c
+++ b/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c
@@ -120,7 +120,7 @@ static int sharp_ls_panel_probe(struct omap_dss_device *dssdev)
120 return 0; 120 return 0;
121} 121}
122 122
123static void sharp_ls_panel_remove(struct omap_dss_device *dssdev) 123static void __exit sharp_ls_panel_remove(struct omap_dss_device *dssdev)
124{ 124{
125 struct sharp_data *sd = dev_get_drvdata(&dssdev->dev); 125 struct sharp_data *sd = dev_get_drvdata(&dssdev->dev);
126 struct backlight_device *bl = sd->bl; 126 struct backlight_device *bl = sd->bl;
@@ -205,7 +205,7 @@ static int sharp_ls_panel_resume(struct omap_dss_device *dssdev)
205 205
206static struct omap_dss_driver sharp_ls_driver = { 206static struct omap_dss_driver sharp_ls_driver = {
207 .probe = sharp_ls_panel_probe, 207 .probe = sharp_ls_panel_probe,
208 .remove = sharp_ls_panel_remove, 208 .remove = __exit_p(sharp_ls_panel_remove),
209 209
210 .enable = sharp_ls_panel_enable, 210 .enable = sharp_ls_panel_enable,
211 .disable = sharp_ls_panel_disable, 211 .disable = sharp_ls_panel_disable,
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c
index ed46a1e99c47..83b0316e35ad 100644
--- a/drivers/video/omap2/displays/panel-taal.c
+++ b/drivers/video/omap2/displays/panel-taal.c
@@ -819,7 +819,7 @@ err:
819 return r; 819 return r;
820} 820}
821 821
822static void taal_remove(struct omap_dss_device *dssdev) 822static void __exit taal_remove(struct omap_dss_device *dssdev)
823{ 823{
824 struct taal_data *td = dev_get_drvdata(&dssdev->dev); 824 struct taal_data *td = dev_get_drvdata(&dssdev->dev);
825 struct nokia_dsi_panel_data *panel_data = get_panel_data(dssdev); 825 struct nokia_dsi_panel_data *panel_data = get_panel_data(dssdev);
@@ -1557,7 +1557,7 @@ static enum omap_dss_update_mode taal_get_update_mode(
1557 1557
1558static struct omap_dss_driver taal_driver = { 1558static struct omap_dss_driver taal_driver = {
1559 .probe = taal_probe, 1559 .probe = taal_probe,
1560 .remove = taal_remove, 1560 .remove = __exit_p(taal_remove),
1561 1561
1562 .enable = taal_enable, 1562 .enable = taal_enable,
1563 .disable = taal_disable, 1563 .disable = taal_disable,