]> git.baikalelectronics.ru Git - kernel.git/commit
sh-pfc: r8a7779: Don't use GPIO enum entries
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 7 Mar 2013 22:47:18 +0000 (23:47 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 2 Apr 2013 02:09:45 +0000 (11:09 +0900)
commit40dff477581a9db627f0545050f4727da6784867
tree34826e5abf6ec156a655a5c34737a52ade752495
parentb7e464c71113a5e624edbef760efea483796ddde
sh-pfc: r8a7779: Don't use GPIO enum entries

Refactor the GPIO macro magic to use GPIO numbers directly instead of
the GPIO_GP_x_y enum entries. This will allow removing the GPIO enum
entries from the mach/r8a7779.h header.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-r8a7779.c