]> git.dujemihanovic.xyz Git - u-boot.git/commit
stpmic1: simplify stpmic1_sysreset_request
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 2 Aug 2019 11:08:04 +0000 (13:08 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 27 Aug 2019 09:19:23 +0000 (11:19 +0200)
commitef32dcf1195efba19e896f993a6bc4882280f081
treea04a93c65e95aaf3fef1a28f3c5e8f9760d2e78b
parent234a60244c62ffce5c5c1d5b80d200f4568c5cfd
stpmic1: simplify stpmic1_sysreset_request

Retrieve parent device from dev->parent instead of
calling uclass_get_device_by_driver()

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/power/pmic/stpmic1.c