spi: xcomm: Use devm_spi_register_master()
authorJingoo Han <jg1.han@samsung.com>
Wed, 4 Dec 2013 05:15:23 +0000 (14:15 +0900)
committerMark Brown <broonie@linaro.org>
Wed, 4 Dec 2013 12:52:30 +0000 (12:52 +0000)
commit4cc16085c80d3363315ad183ad72654993766a0f
tree037a273bc38996c9801668d54cc9dad8d8cc8640
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
spi: xcomm: Use devm_spi_register_master()

Use devm_spi_register_master() to make cleanup paths simpler,
and remove unnecessary remove().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-xcomm.c