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,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]