diff options
author | Michael Walle <michael@walle.cc> | 2022-01-18 18:35:02 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-01-20 19:55:26 +0100 |
commit | 66a8f7f04979f4ad739085f01d99c8caf620b4f5 (patch) | |
tree | cb5d10046659054e0240763e1f84fa003cfe7e41 /drivers/sbus | |
parent | dt-bindings: mfd: cirrus,madera: Fix 'interrupts' in example (diff) | |
download | linux-66a8f7f04979f4ad739085f01d99c8caf620b4f5.tar.xz linux-66a8f7f04979f4ad739085f01d99c8caf620b4f5.zip |
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 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions