Skip to content
Unverified Commit 719af321 authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

spi: cs42l43: Use devm_add_action_or_reset()



Use devm_add_action_or_reset() rather than manually cleaning up on the
error path.

Suggested-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20240417093026.79396-1-ckeepax@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1f48cbd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment