drm/omap: sdi: remove legacy set_datapairs
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 12 May 2017 09:38:46 +0000 (12:38 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 07:57:16 +0000 (10:57 +0300)
Non-DT booting is no longer supported, so remove legacy code.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/omapdss.h
drivers/gpu/drm/omapdrm/dss/sdi.c

index 8396036e210c471eab9c3de1f9f46851a9a45ecd..1ce53b072b1675cfe69f4a4afeacc9db55ea06ab 100644 (file)
@@ -490,8 +490,6 @@ struct omapdss_sdi_ops {
                            struct videomode *vm);
        void (*get_timings)(struct omap_dss_device *dssdev,
                            struct videomode *vm);
-
-       void (*set_datapairs)(struct omap_dss_device *dssdev, int datapairs);
 };
 
 struct omapdss_dvi_ops {
@@ -641,10 +639,6 @@ struct omap_dss_device {
                        u8 data_lines;
                } rfbi;
 
-               struct {
-                       u8 datapairs;
-               } sdi;
-
                struct {
                        int module;
                } dsi;
index f2f8aed53a7b5cf195a7c690b2098b1a5cfc89c0..d18ad58c5a1993b9d71858bac7bd721bfb5eaad9 100644 (file)
@@ -252,11 +252,6 @@ static int sdi_check_timings(struct omap_dss_device *dssdev,
        return 0;
 }
 
-static void sdi_set_datapairs(struct omap_dss_device *dssdev, int datapairs)
-{
-       sdi.datapairs = datapairs;
-}
-
 static int sdi_init_regulator(void)
 {
        struct regulator *vdds_sdi;
@@ -326,8 +321,6 @@ static const struct omapdss_sdi_ops sdi_ops = {
        .check_timings = sdi_check_timings,
        .set_timings = sdi_set_timings,
        .get_timings = sdi_get_timings,
-
-       .set_datapairs = sdi_set_datapairs,
 };
 
 static void sdi_init_output(struct platform_device *pdev)