mbox series

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

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

Message

Krzysztof Kozlowski Aug. 23, 2024, 4:21 p.m. UTC
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: e188fd67a69319f3d105d9b90e424b8d1ff9580c
change-id: 20240823-cleanup-h-guard-of-node-asoc-e8b0e6e5f17e

Best regards,