]> git.dujemihanovic.xyz Git - u-boot.git/commit
sysreset: use syscon_regmap_lookup_by_phandle
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 7 Mar 2019 08:57:14 +0000 (09:57 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Apr 2019 02:10:05 +0000 (20:10 -0600)
commit662a74a2506c9a0d7a68de72158b45840c799174
treed9eecc1f04ff65ba0fb91e543b604f30c3053a2e
parenta442e61e245824f2cf7d7cf43844ac90e5d7e7a4
sysreset: use syscon_regmap_lookup_by_phandle

Use the new function syscon_regmap_lookup_by_phandle()
to simplify the code.

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