stm32_pinctrl: remove duplicate definition

remove duplicate definition of STM32PIN

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
This commit is contained in:
Parthiban Nallathambi 2020-05-03 11:37:57 +02:00 committed by Carles Cufí
commit 84da7e362f

View file

@ -28,18 +28,9 @@
#define STM32_PORTS_MAX (STM32_PORTK + 1) #define STM32_PORTS_MAX (STM32_PORTK + 1)
#endif #endif
/**
* @brief helper macro to encode an IO port pin in a numerical format
*/
#define STM32PIN(_port, _pin) \
(_port << 4 | _pin)
#define STM32_PINMUX_FUNC_GPIO 0 #define STM32_PINMUX_FUNC_GPIO 0
#define STM32_PINMUX_FUNC_ANALOG (STM32_PINMUX_FUNC_ALT_MAX) #define STM32_PINMUX_FUNC_ANALOG (STM32_PINMUX_FUNC_ALT_MAX)
/** /**
* @brief helper macro to encode an IO port pin in a numerical format * @brief helper macro to encode an IO port pin in a numerical format
*/ */