OSDN Git Service

sh-pfc: Pass the pin number down to the port function macro
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 13 Feb 2013 23:41:57 +0000 (00:41 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 29 Jul 2013 13:17:46 +0000 (15:17 +0200)
commit3ce0d7eba042b186cdf9e50f53320240ae36cf6b
tree0d0949a87261e187416f630afafad652e9d35dff
parent16b915e4389ba8f55df31b03d9de973a3d014cf7
sh-pfc: Pass the pin number down to the port function macro

The PORT_1 macro invokes a macro passed as a parameter. Pass the pin
number down to that macro at the bottom of the call stack. This will be
used to compute the pin ranges automatically.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
drivers/pinctrl/sh-pfc/sh_pfc.h