OMAPDSS: Remove unused get_context_loss_count support
The omapdss driver no longer uses get_context_loss_count call, so we can remove it. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Archit Taneja <archit@ti.com>
This commit is contained in:
Родитель
9229b5165b
Коммит
eba358435b
|
@ -301,7 +301,6 @@ int __init omap_display_init(struct omap_dss_board_info *board_data)
|
|||
board_data->version = ver;
|
||||
board_data->dsi_enable_pads = omap_dsi_enable_pads;
|
||||
board_data->dsi_disable_pads = omap_dsi_disable_pads;
|
||||
board_data->get_context_loss_count = omap_pm_get_dev_context_loss_count;
|
||||
board_data->set_min_bus_tput = omap_dss_set_min_bus_tput;
|
||||
|
||||
omap_display_device.dev.platform_data = board_data;
|
||||
|
|
|
@ -154,22 +154,6 @@ static void dss_restore_context(void)
|
|||
#undef SR
|
||||
#undef RR
|
||||
|
||||
int dss_get_ctx_loss_count(void)
|
||||
{
|
||||
struct platform_device *core_pdev = dss_get_core_pdev();
|
||||
struct omap_dss_board_info *board_data = core_pdev->dev.platform_data;
|
||||
int cnt;
|
||||
|
||||
if (!board_data->get_context_loss_count)
|
||||
return -ENOENT;
|
||||
|
||||
cnt = board_data->get_context_loss_count(&dss.pdev->dev);
|
||||
|
||||
WARN_ONCE(cnt < 0, "get_context_loss_count failed: %d\n", cnt);
|
||||
|
||||
return cnt;
|
||||
}
|
||||
|
||||
void dss_sdi_init(int datapairs)
|
||||
{
|
||||
u32 l;
|
||||
|
|
|
@ -225,8 +225,6 @@ void dss_dump_clocks(struct seq_file *s);
|
|||
void dss_debug_dump_clocks(struct seq_file *s);
|
||||
#endif
|
||||
|
||||
int dss_get_ctx_loss_count(void);
|
||||
|
||||
void dss_sdi_init(int datapairs);
|
||||
int dss_sdi_enable(void);
|
||||
void dss_sdi_disable(void);
|
||||
|
|
|
@ -323,7 +323,6 @@ enum omapdss_version {
|
|||
|
||||
/* Board specific data */
|
||||
struct omap_dss_board_info {
|
||||
int (*get_context_loss_count)(struct device *dev);
|
||||
int num_devices;
|
||||
struct omap_dss_device **devices;
|
||||
struct omap_dss_device *default_device;
|
||||
|
|
Загрузка…
Ссылка в новой задаче