sysreset: syscon: update regmap access to syscon
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 9 Jul 2018 12:59:29 +0000 (14:59 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jul 2018 19:55:04 +0000 (15:55 -0400)
commit1f6ca3f42f6edf143473159297f4c515b1cf36f6
treea8f69b7cf75e437ee288784b4fc1bdafbe04eddf
parentaf95a3e7c03e1538f43ca843f7282f36ce0488b8
sysreset: syscon: update regmap access to syscon

Use new API syscon_node_to_regmap in sysreset_syscon driver
for compatible "syscon-reboot"; that's avoid the need of explicit
syscon binding for "regmap" handle.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/sysreset/sysreset_syscon.c