diff options
author | Michael Walle | 2022-01-18 18:35:02 +0100 |
---|---|---|
committer | Rob Herring | 2022-01-20 12:55:26 -0600 |
commit | 66a8f7f04979f4ad739085f01d99c8caf620b4f5 (patch) | |
tree | cb5d10046659054e0240763e1f84fa003cfe7e41 /.clang-format | |
parent | 25e20b505e0e2454ff6713c0cef4bcdd66dffb95 (diff) |
of: base: make small of_parse_phandle() variants static inline
Make all the smaller variants of the of_parse_phandle() static inline.
This also let us remove the empty function stubs if CONFIG_OF is not
defined.
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Walle <michael@walle.cc>
[robh: move index < 0 check into __of_parse_phandle_with_args]
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220118173504.2867523-2-michael@walle.cc
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions