commit | 68b892f1fdc493d7cd4e4067596879cd097c1f62 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Oct 30 11:35:26 2017 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue Oct 31 11:09:43 2017 +0000 |
tree | 2239373187c97df66d42397dd922c113c8a84ffa | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e [diff] |
spi: document odd controller reference handling Document the fact that a reference to the controller is dropped as part of deregistration. This is an odd pattern as the reference is typically taken in __spi_alloc_controller() rather than spi_register_controller(). Most controller drivers gets it right these days and notably the device-managed interface relies on this behaviour. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>