[PATCH v2 0/2] Some clean up with helper fucntion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



There are some helper functions which can be used to simplify the code.
So, let's use these functions to make code more simple.

v2: Fix a code logic broken problem and add the comment back.

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

 sound/soc/generic/audio-graph-card.c  | 12 ++----------
 sound/soc/generic/audio-graph-card2.c | 11 +----------
 2 files changed, 3 insertions(+), 20 deletions(-)

-- 
2.17.1





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux