Skip to content
Commit 666d5b4c authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@linaro.org>
parent 272b98c6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment