Hi Sean, On Wed, 22 Dec 2021 at 10:11, Sean Anderson <sean...@gmail.com> wrote: > > The optional varients of clk_get_* functions are just simple wrappers. > Reduce code size a bit by inlining them. On platforms where it is not used > (most of them), it will not be compiled in any more. On platforms where > they are used, the inlined branch should not cause any significant growth. > > Signed-off-by: Sean Anderson <sean...@gmail.com> > --- > > (no changes since v1) > > drivers/clk/clk-uclass.c | 22 --------------- > include/clk.h | 58 ++++++++++++++++++++++++---------------- > 2 files changed, 35 insertions(+), 45 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> I wonder if LTO removes this anyway?