]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: aoa: Use helper function for_each_child_of_node()
authorZhang Zekun <zhangzekun11@huawei.com>
Fri, 16 Aug 2024 02:18:26 +0000 (10:18 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 16 Aug 2024 07:52:42 +0000 (09:52 +0200)
commitd32cf9fbcb613a8f43e2211e964ccc8bb7271dcf
tree5a7a64af00ac3b57da51a4a0555d0f229e2f806b
parentd79e13f8e8abb5cd3a2a0f9fc9bc3fc750c5b06f
ALSA: aoa: Use helper function for_each_child_of_node()

for_each_child_of_node can help to iterate through the device_node,
and we don't need to use while loop. No functional change with this
conversion.

Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Link: https://patch.msgid.link/20240816021826.65190-1-zhangzekun11@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/soundbus/i2sbus/core.c