sh-pfc: Remove unused input_pd and input_pu ranges
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 16 Jul 2013 00:01:00 +0000 (02:01 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 29 Jul 2013 13:17:37 +0000 (15:17 +0200)
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>
drivers/pinctrl/sh-pfc/core.c
drivers/pinctrl/sh-pfc/sh_pfc.h

index f3fc66b243701acc55faa8659e702dc69157ff34..1c8597cf57be3fae530948ff5d7ddf3f15692c42 100644 (file)
@@ -283,14 +283,6 @@ int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type)
                range = &pfc->info->input;
                break;
 
-       case PINMUX_TYPE_INPUT_PULLUP:
-               range = &pfc->info->input_pu;
-               break;
-
-       case PINMUX_TYPE_INPUT_PULLDOWN:
-               range = &pfc->info->input_pd;
-               break;
-
        default:
                return -EINVAL;
        }
index 830ae1ffd0b5e4d46495523415d888e8bbd72315..64219f6be3afc595b5db9088c5b5078b2626a874 100644 (file)
@@ -25,8 +25,6 @@ enum {
        PINMUX_TYPE_GPIO,
        PINMUX_TYPE_OUTPUT,
        PINMUX_TYPE_INPUT,
-       PINMUX_TYPE_INPUT_PULLUP,
-       PINMUX_TYPE_INPUT_PULLDOWN,
 
        PINMUX_FLAG_TYPE,       /* must be last */
 };
@@ -141,8 +139,6 @@ struct sh_pfc_soc_info {
        const struct sh_pfc_soc_operations *ops;
 
        struct pinmux_range input;
-       struct pinmux_range input_pd;
-       struct pinmux_range input_pu;
        struct pinmux_range output;
        struct pinmux_range function;
 
This page took 0.025409 seconds and 5 git commands to generate.