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 <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1488813
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Konsta Holtta
2017-05-24 14:19:37 +03:00
committed by mobile promotions
parent 9f86bd1d9c
commit 351793947b

View File

@@ -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)) {