]> git.sur5r.net Git - u-boot/commit
dm: core: Add an implementation of regmap_init_mem_platdata()
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:58:22 +0000 (11:58 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
commit1e6ca1a6ad7285569b22465b8387db242b310553
tree3d79ded69e456ca1189337877c5b9deef0ee3025
parenta951431e827cfd862a4c095e85e8650a6b8370f7
dm: core: Add an implementation of regmap_init_mem_platdata()

Add an implementation of this function which mirrors the functions of the
automatic device-tree implementation. This can be used with of-platdata to
create regmaps.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/regmap.c
include/regmap.h