Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Pramod Gurav <pramod.gurav@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Pramod Gurav and committed by
Mark Brown
d2442287 dae1a770

+2
+2
drivers/spi/spi-qup.c
··· 1030 1030 1031 1031 pm_runtime_put_noidle(&pdev->dev); 1032 1032 pm_runtime_disable(&pdev->dev); 1033 + spi_master_put(master); 1034 + 1033 1035 return 0; 1034 1036 } 1035 1037