提交 75906431 编写于 作者: L Laurent Pinchart

sh-pfc: Remove unused input_pd and input_pu ranges

The ranges are not used anymore, remove them.
Signed-off-by: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: NYusuke Goda <yusuke.goda.sx@renesas.com>
上级 4e5ca4a1
...@@ -283,14 +283,6 @@ int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) ...@@ -283,14 +283,6 @@ int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type)
range = &pfc->info->input; range = &pfc->info->input;
break; break;
case PINMUX_TYPE_INPUT_PULLUP:
range = &pfc->info->input_pu;
break;
case PINMUX_TYPE_INPUT_PULLDOWN:
range = &pfc->info->input_pd;
break;
default: default:
return -EINVAL; return -EINVAL;
} }
......
...@@ -25,8 +25,6 @@ enum { ...@@ -25,8 +25,6 @@ enum {
PINMUX_TYPE_GPIO, PINMUX_TYPE_GPIO,
PINMUX_TYPE_OUTPUT, PINMUX_TYPE_OUTPUT,
PINMUX_TYPE_INPUT, PINMUX_TYPE_INPUT,
PINMUX_TYPE_INPUT_PULLUP,
PINMUX_TYPE_INPUT_PULLDOWN,
PINMUX_FLAG_TYPE, /* must be last */ PINMUX_FLAG_TYPE, /* must be last */
}; };
...@@ -141,8 +139,6 @@ struct sh_pfc_soc_info { ...@@ -141,8 +139,6 @@ struct sh_pfc_soc_info {
const struct sh_pfc_soc_operations *ops; const struct sh_pfc_soc_operations *ops;
struct pinmux_range input; struct pinmux_range input;
struct pinmux_range input_pd;
struct pinmux_range input_pu;
struct pinmux_range output; struct pinmux_range output;
struct pinmux_range function; struct pinmux_range function;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部