[PATCH/RFC 12/7] drm: omapdrm: Remove unused omapdss platform data fields
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Dec 14 01:58:04 UTC 2016
The omapdss platform data callbacks and the default display name fields
are unused. Remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
drivers/gpu/drm/omapdrm/dss/core.c | 2 --
include/linux/platform_data/omapdss.h | 4 ----
2 files changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/omapdrm/dss/core.c b/drivers/gpu/drm/omapdrm/dss/core.c
index 5dfb79c02ab3..a2c04e327700 100644
--- a/drivers/gpu/drm/omapdrm/dss/core.c
+++ b/drivers/gpu/drm/omapdrm/dss/core.c
@@ -178,8 +178,6 @@ static int __init omap_dss_probe(struct platform_device *pdev)
if (def_disp_name)
core.default_display_name = def_disp_name;
- else if (pdata->default_display_name)
- core.default_display_name = pdata->default_display_name;
return 0;
diff --git a/include/linux/platform_data/omapdss.h b/include/linux/platform_data/omapdss.h
index e71bb1d1b7ba..94605c079b80 100644
--- a/include/linux/platform_data/omapdss.h
+++ b/include/linux/platform_data/omapdss.h
@@ -27,10 +27,6 @@ enum omapdss_version {
/* Board specific data */
struct omap_dss_board_info {
- const char *default_display_name;
- int (*dsi_enable_pads)(int dsi_id, unsigned int lane_mask);
- void (*dsi_disable_pads)(int dsi_id, unsigned int lane_mask);
- int (*set_min_bus_tput)(struct device *dev, unsigned long r);
enum omapdss_version version;
u32 omaprev;
};
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list