commit | df473927a0c8e4e671984841afc7acb7ab9543fe | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Wed Mar 18 14:35:27 2020 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Mon Mar 23 16:42:35 2020 +0100 |
tree | 2890c2ee63a14de468a65b251098f93546501a17 | |
parent | e0b01d7cdb12f222b79fc592696716dec07b03d2 [diff] |
plat/st: correctly check pwr-regulators node This warning was issued by cppcheck in our downstream code: [plat/st/common/stm32mp_dt.c:629] -> [plat/st/common/stm32mp_dt.c:634]: (warning) Identical condition 'node<0', second condition is always false The second test has to check variable pwr_regulators_node. Change-Id: I4a20c4a3ac0ef0639c2df36309d90a61c02b511f Signed-off-by: Yann Gautier <yann.gautier@st.com>