]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(st-pmic): define pmic_regs table size
authorYann Gautier <yann.gautier@st.com>
Thu, 24 Nov 2022 17:17:02 +0000 (18:17 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 7 Dec 2022 13:18:30 +0000 (14:18 +0100)
commit3cebeec2ae452d33ec0cea322f4ab18137e41631
treee60e25bb5e1ec2d9fdf5359a6e3ff44294a3f576
parentbe7195d06cb7731fe0d906c6eabe6cb6f39f29b1
fix(st-pmic): define pmic_regs table size

This corrects MISRA C2012-9.5:
Where designated initializers are used to initialize an array object
the size of the array shall be specified explicitly.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I4f8da6b0ce73df65b2b45ba10d4ca16ed8b70113
drivers/st/pmic/stm32mp_pmic.c