Re: [U-Boot] [PATCH v4 05/13] regmap: Introduce init_range

2018-08-06 Thread Anatolij Gustschin
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_r

[U-Boot] [PATCH v4 05/13] regmap: Introduce init_range

2018-08-03 Thread Mario Six
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 Reviewed-