mirror of https://github.com/torvalds/linux.git
Just like looping through children and available children, add a scoped helper for for_each_compatible_node() so error paths can drop of_node_put() leading to simpler code. Suggested-by: Jonathan Cameron <jonathan.cameron@huawei.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260109-of-for-each-compatible-scoped-v3-1-c22fa2c0749a@oss.qualcomm.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org> |
||
|---|---|---|
| .. | ||
| include-prefixes | ||
| libfdt | ||
| .gitignore | ||
| Makefile | ||
| checks.c | ||
| data.c | ||
| dt-extract-compatibles | ||
| dt_to_config | ||
| dtc-lexer.l | ||
| dtc-parser.y | ||
| dtc.c | ||
| dtc.h | ||
| dtx_diff | ||
| fdtget.c | ||
| fdtoverlay.c | ||
| fdtput.c | ||
| flattree.c | ||
| fstree.c | ||
| livetree.c | ||
| of_unittest_expect | ||
| srcpos.c | ||
| srcpos.h | ||
| treesource.c | ||
| update-dtc-source.sh | ||
| util.c | ||
| util.h | ||
| version_gen.h | ||
| yamltree.c | ||