commit | c77c7d9e309b6c27ada533f887baf6506f587c4a | [log] [tgz] |
---|---|---|
author | Nicolas Le Bayon <nicolas.le.bayon@st.com> | Fri Nov 15 15:56:06 2019 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Dec 22 14:04:32 2021 +0100 |
tree | 4f1b9fa482c14ad2514266fb72c5a0a0d1a5ed68 | |
parent | 16e56a75deb30fb18c43a94762a830fc94c71a16 [diff] |
refactor(st-pmic): improve driver usage Store status of dt_pmic_status() as local static variable, this avoids parsing DT several times. In the same way, store nodes in dt_pmic_i2c_config() and in dt_get_pmic_node() as local static variables. Change-Id: I4585e9dfdde2847a369bffcc6f2b39ecc2b74de1 Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>