commit | 666d5b4c742ba666eb68b467d777b7862f362ae5 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@linaro.org> | Sat Aug 31 18:50:52 2013 +0100 |
committer | Mark Brown <broonie@linaro.org> | Tue Sep 17 00:59:36 2013 +0100 |
tree | efb1a0d621991a55effac8cc4f61f669542308e2 | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f [diff] |
spi: core: Add devm_spi_register_master() 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>