spi: core: Add devm_spi_register_master()
authorMark Brown <broonie@linaro.org>
Sat, 31 Aug 2013 17:50:52 +0000 (18:50 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:59:36 +0000 (00:59 +0100)
Help simplify the cleanup code for SPI master drivers by providing a
managed master registration function, ensuring that the master is
automatically unregistered whenever the device is unbound.

Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found