commit | 47516aaa82dae632b3a2f27977c643dfb2af1eb6 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Mon Nov 21 11:45:04 2022 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Dec 07 14:20:01 2022 +0100 |
tree | 5145f7ea8f7e90ecb46c7c913d7bf471347cbd9f | |
parent | 5cda3aa8442f3694b45159bf98bc9eb91b903e8b [diff] |
fix(st): use indices when counting GPIOs in DT Fix MISRA C2012-18.4: The +, -, += and -= operators should not be applied to an expression of pointer type. While at it, avoid computing twice the same value, by removing the initial value computation outside the loop. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Iabfe587bf72535541c94bfa341de10148aa58030