[PATCH 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.

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(-)

-- 
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