mirror of https://github.com/torvalds/linux.git
Using for_each_available_child_of_node_scoped() allows us to get rid of of_node_put() calls from early returns or breaks in the loop. It also fixes issues with missing of_node_put() calls. Switch to for_each_available_child_of_node_scoped() in parse_dai_link_info(). Also drop the braces around if blocks now that the inner block is just one statement. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: Fei Shao <fshao@chromium.org> Message-ID: <20250825151111.3696404-1-wenst@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| mtk-afe-fe-dai.c | ||
| mtk-afe-fe-dai.h | ||
| mtk-afe-platform-driver.c | ||
| mtk-afe-platform-driver.h | ||
| mtk-base-afe.h | ||
| mtk-btcvsd.c | ||
| mtk-dai-adda-common.c | ||
| mtk-dai-adda-common.h | ||
| mtk-dsp-sof-common.c | ||
| mtk-dsp-sof-common.h | ||
| mtk-soc-card.h | ||
| mtk-soundcard-driver.c | ||
| mtk-soundcard-driver.h | ||