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 <tomi.valkeinen@ti.com>
This commit is contained in:
parent
29356be1e0
commit
94954fcb80
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user