spi: bfin-v3: use devm_spi_register_master()
authorJingoo Han <jg1.han@samsung.com>
Tue, 24 Sep 2013 04:26:30 +0000 (13:26 +0900)
committerMark Brown <broonie@linaro.org>
Thu, 26 Sep 2013 10:42:23 +0000 (11:42 +0100)
commit6221df6d88b847da0803b2ced7826f005e62c837
treeb959403309ac8ed5e33d2fbec742749ef4a123f8
parentbca76931b934ad323c56d9aab7a74139306d18bf
spi: bfin-v3: 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: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-bfin-v3.c