aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorCharles Keepax <[email protected]>2023-08-08 14:20:07 +0100
committerMark Brown <[email protected]>2023-08-08 18:57:20 +0100
commitc3d7e29ad82ee689b1adf5ea7806b9d06eb098c0 (patch)
treee1b8501c5b8b28339471cbf6bf2c33d8c446482f /net/lapb/lapb_subr.c
parent92e9f10a093529f85b7557b0627531728d89afa2 (diff)
ASoC: intel: sof_sdw: Pull device loop up into create_sdw_dailink
The loops which fill the codec DAI link component structures are split across create_sdw_dailink and create_codec_dai_name. This causes the code to be rather confusing, needing to return out the function to allow the upper loop to iterate. Remove the create_codec_dai_name helper and pull its code up into create_sdw_dailink, this makes it more obvious what is happening in the code. This patch makes no functional change just hoists the code up a level. Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Bard Liao <[email protected]> Signed-off-by: Charles Keepax <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions