]> asedeno.scripts.mit.edu Git - linux.git/commit
of/fdt: Remove dead code and mark functions with __init
authorStephen Boyd <swboyd@chromium.org>
Tue, 14 May 2019 20:40:52 +0000 (13:40 -0700)
committerRob Herring <robh@kernel.org>
Fri, 24 May 2019 21:39:14 +0000 (16:39 -0500)
commit9b4d2b635bd0cf8dfc45223f66fd85792fd2dc7b
tree22d5b2c6245a0c39e3e5b6cfe3856ae2da072644
parent253a41c6fbadd1305e25f84ffc455f2b4d57439c
of/fdt: Remove dead code and mark functions with __init

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 too.

Cc: Hsin-Yi Wang <hsinyi@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/fdt.c
include/linux/of_fdt.h