The omapdss platform data callbacks and the default display name fields are unused. Remove them. Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html