]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: stm32: cosmetic: cleanup gpio_stm32_probe
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 9 Sep 2020 16:28:33 +0000 (18:28 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 2 Oct 2020 13:05:14 +0000 (15:05 +0200)
commit15c8cbfc7482c07db0ba5307f31ea2423399fba9
tree479105426a863769008eb32789957611bcf036c3
parent62f95af92a3fc21a72f5f3198f0d065cbd773f03
gpio: stm32: cosmetic: cleanup gpio_stm32_probe

Move the variables definition at the beggining of the function
gpio_stm32_probe().

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
drivers/gpio/stm32_gpio.c