]> git.karo-electronics.de Git - linux-beck.git/commit
spi: bcm2835: use devm_spi_register_master()
authorJingoo Han <jg1.han@samsung.com>
Tue, 24 Sep 2013 04:23:00 +0000 (13:23 +0900)
committerMark Brown <broonie@linaro.org>
Thu, 26 Sep 2013 10:41:18 +0000 (11:41 +0100)
commit247263dba208fab08c7f49900a9c79adaae1176e
treef4bf4eaaaef919c291f5296b8065369989028048
parent5afd077d70db464eb780732d40f5240c7dd679ba
spi: bcm2835: 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-bcm2835.c