Skip to content

Commit

Permalink
stm32_pinctrl: remove duplicate definition
Browse files Browse the repository at this point in the history
remove duplicate definition of STM32PIN

Signed-off-by: Parthiban Nallathambi <[email protected]>
  • Loading branch information
parthitce authored and carlescufi committed May 4, 2020
1 parent f619cbc commit 84da7e3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions include/dt-bindings/pinctrl/stm32-pinctrl-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,9 @@
#define STM32_PORTS_MAX (STM32_PORTK + 1)
#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_ANALOG (STM32_PINMUX_FUNC_ALT_MAX)



/**
* @brief helper macro to encode an IO port pin in a numerical format
*/
Expand Down

0 comments on commit 84da7e3

Please sign in to comment.