spi: qup: Add spi_master_put in remove function
authorPramod Gurav <pramod.gurav@linaro.org>
Mon, 2 May 2016 12:14:04 +0000 (17:44 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 2 May 2016 14:27:28 +0000 (15:27 +0100)
commitd2442287e77926ee3552acf3bf31a6047ecb0ac1
tree0ca77c902bd92621b1dbe3c8e2d8623f83975502
parentdae1a7700b34eceae049cf8f1567a640528ca4c1
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>
drivers/spi/spi-qup.c