summaryrefslogtreecommitdiff
path: root/drivers/i2c/omap24xx_i2c.c
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2018-10-15 09:24:07 +0200
committerSimon Glass <sjg@chromium.org>2018-11-14 09:16:27 -0800
commit7f0e36699952adee90dc29b5a9db1378f3a7ae06 (patch)
tree0ad682ea4ea76be8edd1adf8209db1e1d97cc87e /drivers/i2c/omap24xx_i2c.c
parent0689036a35296a3d51685a0b671f805818f94af7 (diff)
regmap: Introduce init_range
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 <agust@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'drivers/i2c/omap24xx_i2c.c')
0 files changed, 0 insertions, 0 deletions