From: Tomi Valkeinen Date: Fri, 14 Sep 2012 10:34:50 +0000 (+0300) Subject: OMAPDSS: remove unused fields in omap_dss_device X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=94954fcb8030cd5545dcfc5b8c94fa224e20985d;p=linux-beck.git OMAPDSS: remove unused fields in omap_dss_device 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 --- diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 80d7eb6358ae..ef9db241b4a1 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -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;