OSDN Git Service

sh-pfc: r8a7790: Don't use GPIO enum entries
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 8 Apr 2013 09:36:20 +0000 (11:36 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 4 Jun 2013 12:04:01 +0000 (21:04 +0900)
commited3e26049e238d066841f858509b764df37c3776
treea86df651aab20406f6dbd6ae4ce0196da61f6b0c
parent728d53f4a4a880d8961fb15e1b19c541c5fa1b0f
sh-pfc: r8a7790: 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/r8a7790.h header.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-r8a7790.c