summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/displays/panel-taal.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-03-31 12:03:51 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-11 14:19:26 +0300
commit14e4d78485a50312be72a42fd42a28b5b34264dc (patch)
tree5c38d2827999f020c1defdd9a8df5d583e33ded4 /drivers/video/omap2/displays/panel-taal.c
parent06b2b0d597ab6e3011e8215d02b2aa5f831efbc7 (diff)
downloadlinux-stable-14e4d78485a50312be72a42fd42a28b5b34264dc.tar.gz
linux-stable-14e4d78485a50312be72a42fd42a28b5b34264dc.tar.bz2
linux-stable-14e4d78485a50312be72a42fd42a28b5b34264dc.zip
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:
return r;
}
-static void taal_remove(struct omap_dss_device *dssdev)
+static void __exit taal_remove(struct omap_dss_device *dssdev)
{
struct taal_data *td = dev_get_drvdata(&dssdev->dev);
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(
static struct omap_dss_driver taal_driver = {
.probe = taal_probe,
- .remove = taal_remove,
+ .remove = __exit_p(taal_remove),
.enable = taal_enable,
.disable = taal_disable,