static int tegra30_ahub_remove(struct platform_device *pdev) { if (!ahub) return -ENODEV; pm_runtime_disable(&pdev->dev); if (!pm_runtime_status_suspended(&pdev->dev)) tegra30_ahub_runtime_suspend(&pdev->dev); return 0; }
static int tegra30_ahub_remove(struct platform_device *pdev) { if (!ahub) return -ENODEV; pm_runtime_disable(&pdev->dev); if (!pm_runtime_status_suspended(&pdev->dev)) tegra30_ahub_runtime_suspend(&pdev->dev); clk_put(ahub->clk_apbif); clk_put(ahub->clk_d_audio); ahub = NULL; return 0; }