aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-15 20:01:00 -0400
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-29 09:17:37 -0400
commit75906431564c85738189a000e6e81c29123c61da (patch)
tree9a7c9b268000efeec9e8e829a21514433d361e17
parent4e5ca4a1e65d6c9f7a26b8af26ec6cf1c516f31b (diff)
sh-pfc: Remove unused input_pd and input_pu ranges
The ranges are not used anymore, remove them. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
-rw-r--r--drivers/pinctrl/sh-pfc/core.c8
-rw-r--r--drivers/pinctrl/sh-pfc/sh_pfc.h4
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c
index f3fc66b24370..1c8597cf57be 100644
--- a/drivers/pinctrl/sh-pfc/core.c
+++ b/drivers/pinctrl/sh-pfc/core.c
@@ -283,14 +283,6 @@ int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type)
283 range = &pfc->info->input; 283 range = &pfc->info->input;
284 break; 284 break;
285 285
286 case PINMUX_TYPE_INPUT_PULLUP:
287 range = &pfc->info->input_pu;
288 break;
289
290 case PINMUX_TYPE_INPUT_PULLDOWN:
291 range = &pfc->info->input_pd;
292 break;
293
294 default: 286 default:
295 return -EINVAL; 287 return -EINVAL;
296 } 288 }
diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h b/drivers/pinctrl/sh-pfc/sh_pfc.h
index 830ae1ffd0b5..64219f6be3af 100644
--- a/drivers/pinctrl/sh-pfc/sh_pfc.h
+++ b/drivers/pinctrl/sh-pfc/sh_pfc.h
@@ -25,8 +25,6 @@ enum {
25 PINMUX_TYPE_GPIO, 25 PINMUX_TYPE_GPIO,
26 PINMUX_TYPE_OUTPUT, 26 PINMUX_TYPE_OUTPUT,
27 PINMUX_TYPE_INPUT, 27 PINMUX_TYPE_INPUT,
28 PINMUX_TYPE_INPUT_PULLUP,
29 PINMUX_TYPE_INPUT_PULLDOWN,
30 28
31 PINMUX_FLAG_TYPE, /* must be last */ 29 PINMUX_FLAG_TYPE, /* must be last */
32}; 30};
@@ -141,8 +139,6 @@ struct sh_pfc_soc_info {
141 const struct sh_pfc_soc_operations *ops; 139 const struct sh_pfc_soc_operations *ops;
142 140
143 struct pinmux_range input; 141 struct pinmux_range input;
144 struct pinmux_range input_pd;
145 struct pinmux_range input_pu;
146 struct pinmux_range output; 142 struct pinmux_range output;
147 struct pinmux_range function; 143 struct pinmux_range function;
148 144