spi: pxa2xx: Use gpiod_put() not gpiod_free()
authorMark Brown <broonie@kernel.org>
Fri, 22 Dec 2017 16:15:36 +0000 (16:15 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 22 Dec 2017 16:15:36 +0000 (16:15 +0000)
commita885eebc1b062c6a6a925db85828108779fb0e62
tree7b30939f9fd23dec2d4a06069bde06c8f9947c0d
parent221886646f75964ca31cf60f1811b2c9c4e965a5
spi: pxa2xx: Use gpiod_put() not gpiod_free()

gpiod_free() is an internal function for gpiolib, gpiod_put() is the
correct external function.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c