spi: orion: use devm_spi_register_master()
authorJingoo Han <jg1.han@samsung.com>
Tue, 24 Sep 2013 04:43:09 +0000 (13:43 +0900)
committerMark Brown <broonie@linaro.org>
Thu, 26 Sep 2013 10:42:37 +0000 (11:42 +0100)
commit4bd3d8e36b5571db8874ea95ba2b95de1192e387
tree2bb34ffb0fe9a57bd0b77598120f7d5448817e13
parentb95e02b748ce3674a81d5796b5ee398cbccc92df
spi: orion: use devm_spi_register_master()

Use devm_spi_register_master() to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-orion.c