diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2018-11-22 22:07:33 +0000 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-11-29 16:57:21 +0100 |
commit | fe24f1a10023caac1e052caf87ca05937c7ae788 (patch) | |
tree | 3640c6e09a674d3281baf9d4fd9ea4f1e9ea3aaa /mk | |
parent | d89697a067309f9c177cb76059cd0c3f2d3c4ba8 (diff) |
core: generic_boot: Utilize add_dt_path_subnode where appropriate
This patch replaces some repetitive code of the form
offs = fdt_path_offset(fdt, "path");
if (offs < 0)
return -1;
offs = fdt_add_subnode(fdt, offs, "subnode");
with
offs = add_dt_path_subnode(fdt, "path", "subnode");
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'mk')
0 files changed, 0 insertions, 0 deletions