aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/displays/panel-taal.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-03-31 05:03:51 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-11 07:19:26 -0400
commit14e4d78485a50312be72a42fd42a28b5b34264dc (patch)
tree5c38d2827999f020c1defdd9a8df5d583e33ded4 /drivers/video/omap2/displays/panel-taal.c
parent06b2b0d597ab6e3011e8215d02b2aa5f831efbc7 (diff)
OMAP: DSS2: use __exit for selected panel drivers
We can use __exit for the driver remove function in plain dss panels (ie. those that do not need i2c or spi). Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/displays/panel-taal.c')
-rw-r--r--drivers/video/omap2/displays/panel-taal.c4
1 files changed, 2 insertions, 2 deletions
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,