The IRQ releasing is handled by "managed resources", hence there is no need to release IRQ manually. Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx> --- drivers/devfreq/tegra-devfreq.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/devfreq/tegra-devfreq.c b/drivers/devfreq/tegra-devfreq.c index 6185e7ab20a8..ed67d7a48176 100644 --- a/drivers/devfreq/tegra-devfreq.c +++ b/drivers/devfreq/tegra-devfreq.c @@ -717,7 +717,6 @@ static int tegra_devfreq_probe(struct platform_device *pdev) static int tegra_devfreq_remove(struct platform_device *pdev) { struct tegra_devfreq *tegra = platform_get_drvdata(pdev); - int irq = platform_get_irq(pdev, 0); u32 val; unsigned int i; @@ -729,8 +728,6 @@ static int tegra_devfreq_remove(struct platform_device *pdev) actmon_write_barrier(tegra); - devm_free_irq(&pdev->dev, irq, tegra); - clk_notifier_unregister(tegra->emc_clock, &tegra->rate_change_nb); clk_disable_unprepare(tegra->clock); -- 2.21.0