Fix probe error handling and devres lifetime to avoid memory leaks and
use-after-free.
Johan
Johan Hovold (2):
spi: ch341: fix memory leaks on probe failures
spi: ch341: fix devres lifetime
drivers/spi/spi-ch341.c | 43 +++++++++++++++++++++++++++--------------
1 file changed, 28 insertions(+), 15 deletions(-)
--
2.52.0