Re: [PATCH 1/2] of/fdt: Remove dead code and mark functions with __init

2019-05-14 Thread Stephen Boyd
Quoting Rob Herring (2019-05-14 10:06:48) > On Thu, May 9, 2019 at 4:55 PM Stephen Boyd wrote: > > diff --git a/Documentation/devicetree/bindings/common-properties.txt > > b/Documentation/devicetree/bindings/common-properties.txt > > index a3448bfa1c82..1c50d8700ab5 100644 > > --- a/Documentation

Re: [PATCH 1/2] of/fdt: Remove dead code and mark functions with __init

2019-05-14 Thread Rob Herring
On Thu, May 9, 2019 at 4:55 PM Stephen Boyd wrote: > > Some functions in here are never called, and others are only called > during __init. Remove the dead code and some dead exports for functions > that don't exist (I'm looking at you of_fdt_get_string!). Mark some > functions with __init so we c

[PATCH 1/2] of/fdt: Remove dead code and mark functions with __init

2019-05-09 Thread Stephen Boyd
Some functions in here are never called, and others are only called during __init. Remove the dead code and some dead exports for functions that don't exist (I'm looking at you of_fdt_get_string!). Mark some functions with __init so we can throw them away after we boot up and poke at the FDT blob t