spi: pxa2xx: use devm_spi_register_master()
authorJingoo Han <jg1.han@samsung.com>
Tue, 24 Sep 2013 04:46:55 +0000 (13:46 +0900)
committerMark Brown <broonie@linaro.org>
Thu, 26 Sep 2013 10:42:52 +0000 (11:42 +0100)
commita807fcd090d6e778717d0954fc6a58a72ee16ba0
treed9402b491e8d3852b6ac89b1a4178344589cccd2
parent35794a77168b739bbc758b6c5b11c78572188d77
spi: pxa2xx: use devm_spi_register_master()

Use devm_spi_register_master() to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-pxa2xx.c