]> git.dujemihanovic.xyz Git - u-boot.git/commit
regmap: Add API regmap_init_mem_index()
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 10 Jun 2019 19:13:33 +0000 (00:43 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 17 Jul 2019 15:12:08 +0000 (11:12 -0400)
commit55a1a09b2acfc08bb55cb01820b00ef443f23481
tree4337d165fd7ee3a516025ce8964d68bf3ffd6c5c
parent6fca7fb3a008297408489ffb696e3b360d8f343b
regmap: Add API regmap_init_mem_index()

In device nodes with more than one entry in the reg property,
it is sometimes useful to regmap only of the entries. Add an
API regmap_init_mem_index() to facilitate this.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/core/regmap.c
include/regmap.h