OMAPDSS: remove unused fields in omap_dss_device
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 14 Sep 2012 10:34:50 +0000 (13:34 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:55 +0000 (14:00 +0300)
The use of platform callbacks, backlight, DSI TE and reset gpio from the
struct omap_dss_device has been removed. We can thus remove the fields
from omap_dss_device.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
include/video/omapdss.h

index 80d7eb6358ae546dc0defb54a81b7323960d556f..ef9db241b4a1a23d2e2696159ea58b5eab45522e 100644 (file)
@@ -608,9 +608,6 @@ struct omap_dss_device {
 
                struct {
                        int module;
-
-                       bool ext_te;
-                       u8 ext_te_gpio;
                } dsi;
 
                struct {
@@ -631,10 +628,6 @@ struct omap_dss_device {
                struct rfbi_timings rfbi_timings;
        } ctrl;
 
-       int reset_gpio;
-
-       int max_backlight_level;
-
        const char *name;
 
        /* used to match device to driver */
@@ -655,13 +648,6 @@ struct omap_dss_device {
 
        enum omap_dss_audio_state audio_state;
 
-       /* platform specific  */
-       int (*platform_enable)(struct omap_dss_device *dssdev);
-       void (*platform_disable)(struct omap_dss_device *dssdev);
-       int (*set_backlight)(struct omap_dss_device *dssdev, int level);
-       int (*get_backlight)(struct omap_dss_device *dssdev);
-
-
        /* OMAP DSS output specific fields */
 
        struct list_head list;