Skip to content
Commit d3581236 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 5ccc2c21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment