spi: ti-qspi: improve ->remove() callback
authorFelipe Balbi <balbi@ti.com>
Thu, 29 Oct 2015 13:57:30 +0000 (08:57 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 30 Oct 2015 01:24:57 +0000 (10:24 +0900)
commite6b5140b706689a38aaeabd9de8fb3e1531cf9cb
treeaa01de118317a2183a304e85be96980d085b3878
parent57c2ecd9bf971946ea0c6ae90a79c90a22159c73
spi: ti-qspi: improve ->remove() callback

there's no need to call pm_runtime_get_sync()
followed by pm_runtime_put(). We should, instead,
just call pm_runtime_put_sync() and pm_runtime_disable().

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-ti-qspi.c