Skip to content

Commit

Permalink
OMAPDSS: remove unused fields in omap_dss_device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomi Valkeinen committed Jun 17, 2013
1 parent 29356be commit 94954fc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions include/video/omapdss.h
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,6 @@ struct omap_dss_device {

struct {
int module;

bool ext_te;
u8 ext_te_gpio;
} dsi;

struct {
Expand All @@ -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 */
Expand All @@ -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;
Expand Down

0 comments on commit 94954fc

Please sign in to comment.