commit | e4873e355737706a8bf093c990c0486ff67fb9bd | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Thu Apr 19 12:14:03 2018 +0900 |
committer | Tom Rini <trini@konsulko.com> | Mon May 07 15:49:51 2018 -0400 |
tree | c1ff594293463470564010fd57e7cbbd03bb35a0 | |
parent | 9349bcc453ebe7203a2b110595918ad36d63330a [diff] |
regmap: change regmap_init_mem() to take ofnode instead udevice Currently, regmap_init_mem() takes a udevice. This requires the node has already been associated with a device. It prevents syscon/regmap from behaving like those in Linux. Change the first argumenet to take a device node. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Simon Glass <sjg@chromium.org>