Commit 111d47d7 authored by Tomi Valkeinen's avatar Tomi Valkeinen

drm/omap: sdi: remove legacy set_datapairs

Non-DT booting is no longer supported, so remove legacy code.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent c08feea9
...@@ -490,8 +490,6 @@ struct omapdss_sdi_ops { ...@@ -490,8 +490,6 @@ struct omapdss_sdi_ops {
struct videomode *vm); struct videomode *vm);
void (*get_timings)(struct omap_dss_device *dssdev, void (*get_timings)(struct omap_dss_device *dssdev,
struct videomode *vm); struct videomode *vm);
void (*set_datapairs)(struct omap_dss_device *dssdev, int datapairs);
}; };
struct omapdss_dvi_ops { struct omapdss_dvi_ops {
...@@ -641,10 +639,6 @@ struct omap_dss_device { ...@@ -641,10 +639,6 @@ struct omap_dss_device {
u8 data_lines; u8 data_lines;
} rfbi; } rfbi;
struct {
u8 datapairs;
} sdi;
struct { struct {
int module; int module;
} dsi; } dsi;
......
...@@ -252,11 +252,6 @@ static int sdi_check_timings(struct omap_dss_device *dssdev, ...@@ -252,11 +252,6 @@ static int sdi_check_timings(struct omap_dss_device *dssdev,
return 0; return 0;
} }
static void sdi_set_datapairs(struct omap_dss_device *dssdev, int datapairs)
{
sdi.datapairs = datapairs;
}
static int sdi_init_regulator(void) static int sdi_init_regulator(void)
{ {
struct regulator *vdds_sdi; struct regulator *vdds_sdi;
...@@ -326,8 +321,6 @@ static const struct omapdss_sdi_ops sdi_ops = { ...@@ -326,8 +321,6 @@ static const struct omapdss_sdi_ops sdi_ops = {
.check_timings = sdi_check_timings, .check_timings = sdi_check_timings,
.set_timings = sdi_set_timings, .set_timings = sdi_set_timings,
.get_timings = sdi_get_timings, .get_timings = sdi_get_timings,
.set_datapairs = sdi_set_datapairs,
}; };
static void sdi_init_output(struct platform_device *pdev) static void sdi_init_output(struct platform_device *pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment