spi: atmel: Use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Wed, 4 Dec 2013 05:07:51 +0000 (14:07 +0900)
committerMark Brown <broonie@linaro.org>
Wed, 4 Dec 2013 11:58:41 +0000 (11:58 +0000)
commit9f87d6f26b2fcedfc3d1ec6c65ce568b21546ee2
tree8848e787b4e7bc44c8b50c50cd6519d0b4f7a54a
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
spi: atmel: Use devm_*() functions

Use devm_*() functions to make cleanup paths simpler.

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