diff mbox

[PATCH/RFC,12/7] drm: omapdrm: Remove unused omapdss platform data fields

Message ID 1481680684-11585-5-git-send-email-laurent.pinchart@ideasonboard.com
State New, archived
Headers show

Commit Message

Laurent Pinchart Dec. 14, 2016, 1:58 a.m. UTC
The omapdss platform data callbacks and the default display name fields
are unused. Remove them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/gpu/drm/omapdrm/dss/core.c    | 2 --
 include/linux/platform_data/omapdss.h | 4 ----
 2 files changed, 6 deletions(-)
diff mbox

Patch

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;
 };