From 351793947ba6db2cc382962818680e9858959b86 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Wed, 24 May 2017 14:19:37 +0300 Subject: gpu: nvgpu: drop tegra idle registration calls The deprecated functions tegra_{register,unregister}_idle_unidle() have not existed in ages, so remove this dead code. Change-Id: I45005844d59282ff9638cce1c61002bddab74ce2 Signed-off-by: Konsta Holtta Reviewed-on: http://git-master/r/1488813 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/module.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'drivers/gpu/nvgpu/common') diff --git a/drivers/gpu/nvgpu/common/linux/module.c b/drivers/gpu/nvgpu/common/linux/module.c index 5e8af065..adf9ff37 100644 --- a/drivers/gpu/nvgpu/common/linux/module.c +++ b/drivers/gpu/nvgpu/common/linux/module.c @@ -502,9 +502,6 @@ static irqreturn_t gk20a_intr_thread_stall(int irq, void *dev_id) void gk20a_remove_support(struct gk20a *g) { -#ifdef CONFIG_TEGRA_COMMON - tegra_unregister_idle_unidle(); -#endif nvgpu_kfree(g, g->dbg_regops_tmp_buf); if (g->pmu.remove_support) @@ -542,10 +539,6 @@ static int gk20a_init_support(struct platform_device *dev) int err = 0; struct gk20a *g = get_gk20a(&dev->dev); -#ifdef CONFIG_TEGRA_COMMON - tegra_register_idle_unidle(gk20a_do_idle, gk20a_do_unidle); -#endif - g->regs = gk20a_ioremap_resource(dev, GK20A_BAR0_IORESOURCE_MEM, &g->reg_mem); if (IS_ERR(g->regs)) { -- cgit v1.2.2