mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
Surprisingly devres_destroy() doesn't call the destructor for the resource it is destroying, use the newly added devres_release() instead to fix this. Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Russell King <[email protected]>