@@ -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;
@@ -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;
};
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(-)