diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 27fce8e0a..a6f56763e 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c @@ -41,7 +41,6 @@ #include #include -#include #ifdef CONFIG_TEGRA_GK20A #include @@ -884,13 +883,6 @@ static int gk20a_pm_finalize_poweron(struct device *dev) enable_irq(g->irq_stall); enable_irq(g->irq_nonstall); -#ifdef CONFIG_INPUT_CFBOOST - if (!g->boost_added) { - gk20a_dbg_info("add touch boost"); - cfb_add_device(dev); - g->boost_added = true; - } -#endif done: return err; } @@ -1527,11 +1519,6 @@ static int __exit gk20a_remove(struct platform_device *dev) if (platform->has_cde) gk20a_cde_destroy(g); -#ifdef CONFIG_INPUT_CFBOOST - if (g->boost_added) - cfb_remove_device(&dev->dev); -#endif - if (IS_ENABLED(CONFIG_GK20A_DEVFREQ)) gk20a_scale_exit(dev); diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 0436c4668..015c8274a 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -412,9 +412,6 @@ struct gk20a { void __iomem *bar1_saved; bool power_on; -#ifdef CONFIG_INPUT_CFBOOST - bool boost_added; -#endif struct rw_semaphore busy_lock;