On Fri, May 15, 2020 at 05:58:05PM +0200, Lukas Wunner wrote: > As a rule, devm_spi_register_controller() must not be used if the > driver's ->remove() hook performs teardown steps which shall be > performed after unbinding of slaves. > > Dozens of drivers are doing it wrong. Document this gotcha to > hopefully prevent further misuse. This is something that needs to be documented at the devm level, it applies to pretty much every managed API.
Attachment:
signature.asc
Description: PGP signature