mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
devm_add_action_or_reset() already invokes the action on failure,
so the explicit put causes a double-put.
Fixes: 9b07cdf86a ("pinctrl: cirrus: Fix fwnode leak in cs42l43_pin_probe()")
Signed-off-by: Felix Gu <[email protected]>
Reviewed-by: Charles Keepax <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>