pinctrl: sh-pfc: Move PIN_NONE to shared header file
Several drivers have identical definitions for PIN_NONE. Provide a definition with a SH_PFC_ prefix for general use in sh_pfc.h, and convert all drivers over to use it. Signed-off-by:Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by:
Simon Horman <horms+renesas@verge.net.au>
Showing
- drivers/pinctrl/sh-pfc/pfc-r8a7778.c 37 additions, 39 deletionsdrivers/pinctrl/sh-pfc/pfc-r8a7778.c
- drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c 26 additions, 27 deletionsdrivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c
- drivers/pinctrl/sh-pfc/pfc-r8a7795.c 26 additions, 27 deletionsdrivers/pinctrl/sh-pfc/pfc-r8a7795.c
- drivers/pinctrl/sh-pfc/pfc-r8a7796.c 27 additions, 28 deletionsdrivers/pinctrl/sh-pfc/pfc-r8a7796.c
- drivers/pinctrl/sh-pfc/pfc-r8a77965.c 27 additions, 28 deletionsdrivers/pinctrl/sh-pfc/pfc-r8a77965.c
- drivers/pinctrl/sh-pfc/pfc-r8a77990.c 44 additions, 45 deletionsdrivers/pinctrl/sh-pfc/pfc-r8a77990.c
- drivers/pinctrl/sh-pfc/sh_pfc.h 2 additions, 0 deletionsdrivers/pinctrl/sh-pfc/sh_pfc.h
Loading
Please register or sign in to comment