commit | 342865ad0ece81f37e0af0151f6dbd80077ed833 | [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 | f5188ee6921166016a9458d1f9a4b471247eb3f5 [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>