pinctrl: pinconf: remove warning: unused variable 'ops'
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 13 Dec 2013 11:14:36 +0000 (12:14 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 13 Dec 2013 12:55:15 +0000 (13:55 +0100)
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf.c

index 4187fe58794d7d68807eced6615ac58dc7734b00..8bfa0643e5dc4e0fb6905ee72c39c5f885a30d62 100644 (file)
@@ -296,7 +296,6 @@ static void pinconf_dump_pin(struct pinctrl_dev *pctldev,
 static int pinconf_pins_show(struct seq_file *s, void *what)
 {
        struct pinctrl_dev *pctldev = s->private;
-       const struct pinconf_ops *ops = pctldev->desc->confops;
        unsigned i, pin;
 
        seq_puts(s, "Pin config settings per pin\n");
@@ -343,7 +342,6 @@ static int pinconf_groups_show(struct seq_file *s, void *what)
 {
        struct pinctrl_dev *pctldev = s->private;
        const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
-       const struct pinconf_ops *ops = pctldev->desc->confops;
        unsigned ngroups = pctlops->get_groups_count(pctldev);
        unsigned selector = 0;