mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/9] soundwire: simplify code with cleanup.h
@ 2024-07-03 10:15 Krzysztof Kozlowski
  2024-07-03 10:15 ` [PATCH 1/9] soundwire: amd: simplify return path in hw_params Krzysztof Kozlowski
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-03 10:15 UTC (permalink / raw)
  To: Vinod Koul, Bard Liao, Pierre-Louis Bossart, Sanyog Kale
  Cc: alsa-devel, linux-kernel, Krzysztof Kozlowski

Allocate the memory with scoped/cleanup.h to reduce error handling
(simpler error paths) and make the code a bit smaller.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (9):
      soundwire: amd: simplify return path in hw_params
      soundwire: amd: simplify with cleanup.h
      soundwire: amd_init: simplify with cleanup.h
      soundwire: intel: simplify return path in hw_params
      soundwire: intel: simplify with cleanup.h
      soundwire: intel_ace2x: simplify return path in hw_params
      soundwire: intel_ace2x: simplify with cleanup.h
      soundwire: cadence: simplify with cleanup.h
      soundwire: debugfs: simplify with cleanup.h

 drivers/soundwire/amd_init.c       |  7 +++----
 drivers/soundwire/amd_manager.c    | 13 +++++--------
 drivers/soundwire/cadence_master.c |  5 ++---
 drivers/soundwire/debugfs.c        |  7 ++-----
 drivers/soundwire/intel.c          | 25 +++++++++----------------
 drivers/soundwire/intel_ace2x.c    | 22 ++++++++--------------
 6 files changed, 29 insertions(+), 50 deletions(-)
---
base-commit: 246cf92bafedeea46cb16964d16478d6b68f8e5a
change-id: 20240703-soundwire-cleanup-h-a29941fb3dd4

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-07-10  5:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-03 10:15 [PATCH 0/9] soundwire: simplify code with cleanup.h Krzysztof Kozlowski
2024-07-03 10:15 ` [PATCH 1/9] soundwire: amd: simplify return path in hw_params Krzysztof Kozlowski
2024-07-03 10:15 ` [PATCH 2/9] soundwire: amd: simplify with cleanup.h Krzysztof Kozlowski
2024-07-03 10:15 ` [PATCH 3/9] soundwire: amd_init: " Krzysztof Kozlowski
2024-07-03 10:15 ` [PATCH 4/9] soundwire: intel: simplify return path in hw_params Krzysztof Kozlowski
2024-07-03 10:15 ` [PATCH 5/9] soundwire: intel: simplify with cleanup.h Krzysztof Kozlowski
2024-07-03 10:15 ` [PATCH 6/9] soundwire: intel_ace2x: simplify return path in hw_params Krzysztof Kozlowski
2024-07-03 10:15 ` [PATCH 7/9] soundwire: intel_ace2x: simplify with cleanup.h Krzysztof Kozlowski
2024-07-03 10:16 ` [PATCH 8/9] soundwire: cadence: " Krzysztof Kozlowski
2024-07-03 10:16 ` [PATCH 9/9] soundwire: debugfs: " Krzysztof Kozlowski
2024-07-10  5:45 ` [PATCH 0/9] soundwire: simplify code " Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®