]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi/imx: simplify error handling to free gpios
authorAxel Lin <axel.lin@gmail.com>
Tue, 10 Jan 2012 07:27:36 +0000 (15:27 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 9 Mar 2012 23:26:48 +0000 (16:26 -0700)
commit00ffc13f35f1a5b2d8dc9f2dd2f410f017330a97
treebb75faabea05b6a2d4037396ffadd7a8cae1eab4
parente290cf276bc2a6cdcb360fd72b7a6a24539505fc
spi/imx: simplify error handling to free gpios

Simplify the error handling by moving the code to free gpios in one place.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-imx.c