summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sh-pfc/pfc-shx3.c
diff options
context:
space:
mode:
authorLaurent Pinchart2013-07-15 13:03:20 +0200
committerLaurent Pinchart2013-07-29 15:17:41 +0200
commit533743dccb517b0331eccc111e3c2b8f021559b5 (patch)
tree8683492a077fdc9e4629a14b3a596ecce3147112 /drivers/pinctrl/sh-pfc/pfc-shx3.c
parentsh-pfc: Don't overallocate memory for the GPIO chip pins array (diff)
downloadkernel-qcow2-linux-533743dccb517b0331eccc111e3c2b8f021559b5.tar.gz
kernel-qcow2-linux-533743dccb517b0331eccc111e3c2b8f021559b5.tar.xz
kernel-qcow2-linux-533743dccb517b0331eccc111e3c2b8f021559b5.zip
sh-pfc: Replace pinmux_enum_id typedef with u16
The typedef only conceals the real variable type without bringing any additional value (see Documentation/CodingStyle, section 5.b). Moreover, it polutes the pinmux namespace. Replace it with the integer type it used to hide. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-shx3.c')
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-shx3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-shx3.c b/drivers/pinctrl/sh-pfc/pfc-shx3.c
index 50d9c5d83b8d..48a6c60f41e5 100644
--- a/drivers/pinctrl/sh-pfc/pfc-shx3.c
+++ b/drivers/pinctrl/sh-pfc/pfc-shx3.c
@@ -127,8 +127,7 @@ enum {
PINMUX_MARK_END,
};
-static const pinmux_enum_t shx3_pinmux_data[] = {
-
+static const u16 shx3_pinmux_data[] = {
/* PA GPIO */
PINMUX_DATA(PA7_DATA, PA7_IN, PA7_OUT),
PINMUX_DATA(PA6_DATA, PA6_IN, PA6_OUT),