From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 1 Aug 2018 23:36:44 +0200 Subject: [U-Boot] [PATCH v3 05/13] regmap: Introduce init_range In-Reply-To: <20180731100110.4852-5-mario.six@gdsys.cc> References: <20180731100110.4852-1-mario.six@gdsys.cc> <20180731100110.4852-5-mario.six@gdsys.cc> Message-ID: <20180801233644.6011edb6@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 31 Jul 2018 12:01:02 +0200 Mario Six mario.six at 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. > > Signed-off-by: Mario Six Reviewed-by: Anatolij Gustschin