[PATCH] pinctrl: stm32: replace magic values with defines for STM32_PINMODE

Sascha Hauer sha at pengutronix.de
Fri Jan 14 00:24:46 PST 2022


On Fri, Jan 14, 2022 at 07:59:43AM +0100, Ahmad Fatoum wrote:
> Makes the code easier to follow and allows using the new macros in PBL
> code for early pinmuxing of e.g. the debug UART.
> 
> Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
> ---
>  drivers/pinctrl/pinctrl-stm32.c | 6 +++---
>  include/soc/stm32/gpio.h        | 4 ++++
>  2 files changed, 7 insertions(+), 3 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list