]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(st-regulator): rework for_each_*rdev macros
authorYann Gautier <yann.gautier@st.com>
Fri, 25 Nov 2022 14:29:38 +0000 (15:29 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 7 Dec 2022 13:18:31 +0000 (14:18 +0100)
commit6a3ffb53910f136d14ddad5042da01a03e5087c4
tree9bc450a711537d7917fdac7553cfda3ab374b709
parent68083e7ad5ded7adbeca147546bbda6c14cab049
fix(st-regulator): rework for_each_*rdev macros

This corrects MISRA C2012-18.4:
The +, -, += and -= operators should not be applied to an expression
of pointer type.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: Ie1a196b875eae2eff9242cf83abfc1a79bdee6f3
drivers/st/regulator/regulator_core.c