mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
spi: free children in spi_unregister_master, not siblings
introduced by49dce689("spi doesn't need class_device") and bad-fixed by350d0076("spi: fix double-free on spi_unregister_master"), spi_unregister_master would previously device_unregister all of the spi master's siblings (instead of its children). hilarity ensues. fix it to unregister children. Signed-off-by: David Lamparter <equinox@diac24.net> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
4e4438b865
commit
34860089c9
1 changed files with 3 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue