mbox series

[RESEND,0/3] ASoC: codecs: wcd93xx: Simplify locking with guard()

Message ID 20241209-cleanup-h-guard-of-node-asoc-v1-0-397f6385e4a5@linaro.org (mailing list archive)
Headers show
Series ASoC: codecs: wcd93xx: Simplify locking with guard() | expand

Message

Krzysztof Kozlowski Dec. 9, 2024, noon UTC
Resending, no feedback. Previous:
- Link to v1: https://lore.kernel.org/r/20240823-cleanup-h-guard-of-node-asoc-v1-0-2349bd7fb7f4@linaro.org

Simplify error handling around locks with guard().  Less gotos needed,
drop local 'ret' variable..

Best regards,
Krzysztof

---
Krzysztof Kozlowski (3):
      ASoC: codecs: wcd937x: Simplify locking with guard()
      ASoC: codecs: wcd938x: Simplify locking with guard()
      ASoC: codecs: wcd939x: Simplify locking with guard()

 sound/soc/codecs/wcd937x.c | 24 +++++++++++-------------
 sound/soc/codecs/wcd938x.c | 24 +++++++++++-------------
 sound/soc/codecs/wcd939x.c | 21 ++++++++-------------
 3 files changed, 30 insertions(+), 39 deletions(-)
---
base-commit: 0dd030fe5c2e08b61920b0e6e86214ec9a5442cb
change-id: 20240823-cleanup-h-guard-of-node-asoc-e8b0e6e5f17e

Best regards,