mbox series

[0/2] Some clean up with helper fucntion

Message ID 20240822112649.58376-1-zhangzekun11@huawei.com (mailing list archive)
Headers show
Series Some clean up with helper fucntion | expand

Message

Zhang Zekun Aug. 22, 2024, 11:26 a.m. UTC
There are some helper functions which can be used to simplify the code.
So, let's use these functions to make code more simple.

Zhang Zekun (2):
  ASoC: audio-graph-card: Use for_each_child_of_node_scoped() to
    simplify code
  ASoC: audio-graph-card2: Use helper function to simplify code

 sound/soc/generic/audio-graph-card.c  | 12 ++----------
 sound/soc/generic/audio-graph-card2.c | 28 ++++++---------------------
 2 files changed, 8 insertions(+), 32 deletions(-)