On Fri, 3 Aug 2018 10:01:10 +0200 Mario Six mario....@gdsys.cc wrote: > Both fdtdec_get_addr_size_fixed and of_address_to_resource can fail with > an error, which is not currently checked during regmap initialization. > > Since the indentation depth is already quite deep, extract a new > 'init_range' method to do the initialization. > > Reviewed-by: Anatolij Gustschin <ag...@denx.de> > Reviewed-by: Simon Glass <s...@chromium.org> > Signed-off-by: Mario Six <mario....@gdsys.cc> > > --- > > v3 -> v4: > * Introduced else clause in of_live_active() if statement to make the > distinction between live and non-live cases clearer > > v2 -> v3: > New in v3 > > --- > drivers/core/regmap.c | 68 > ++++++++++++++++++++++++++++++++++++++++++--------- > 1 file changed, 56 insertions(+), 12 deletions(-)
Applied to u-boot-staging/ag...@denx.de, thanks! -- Anatolij _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot