Commit d2442287 authored by Pramod Gurav's avatar Pramod Gurav Committed by Mark Brown

spi: qup: Add spi_master_put in remove function

Release memory allocated for spi master by calling spi_master_put in
.remove function.
Signed-off-by: default avatarPramod Gurav <pramod.gurav@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent dae1a770
......@@ -1030,6 +1030,8 @@ static int spi_qup_remove(struct platform_device *pdev)
pm_runtime_put_noidle(&pdev->dev);
pm_runtime_disable(&pdev->dev);
spi_master_put(master);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment