]> git.karo-electronics.de Git - linux-beck.git/commit
spi: mxs: use devm_spi_register_master()
authorJingoo Han <jg1.han@samsung.com>
Tue, 24 Sep 2013 04:32:56 +0000 (13:32 +0900)
committerMark Brown <broonie@linaro.org>
Thu, 26 Sep 2013 10:42:34 +0000 (11:42 +0100)
commit33e195acf2682627d9f4d9fb9c30a5dd5323bc5c
treed9820676b8b33cdd02545a5000be83e0f83d9c3c
parenteaa24297846bcdd98cefd52937ed88046a121ebc
spi: mxs: use devm_spi_register_master()

Use devm_spi_register_master() to make cleanup paths simpler,
and remove a duplicate put.

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