spi: falcon: Use devm_spi_register_master()
authorJingoo Han <jg1.han@samsung.com>
Wed, 4 Dec 2013 05:11:56 +0000 (14:11 +0900)
committerMark Brown <broonie@linaro.org>
Wed, 4 Dec 2013 12:54:52 +0000 (12:54 +0000)
commit999b6e932bf7238a0d1eb35d0b3d6eac673b8777
treea332a513612c8b03941d38da95450f2daf6881f2
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
spi: falcon: 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: Thomas Langer <thomas.langer@lantiq.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-falcon.c