diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2013-12-13 06:14:36 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-12-13 07:55:15 -0500 |
commit | b5728cf766f61e8a08121315a6b6883a0a2c21b9 (patch) | |
tree | d582afe9dbbd9c37eb7ab9674e6f3d5eef1a0023 /drivers/pinctrl/pinconf.c | |
parent | 4d9b8a8e4657010e3254d2e52e9542c4cedf448d (diff) |
pinctrl: pinconf: remove warning: unused variable 'ops'
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinconf.c')
-rw-r--r-- | drivers/pinctrl/pinconf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c index 4187fe58794d..8bfa0643e5dc 100644 --- a/drivers/pinctrl/pinconf.c +++ b/drivers/pinctrl/pinconf.c | |||
@@ -296,7 +296,6 @@ static void pinconf_dump_pin(struct pinctrl_dev *pctldev, | |||
296 | static int pinconf_pins_show(struct seq_file *s, void *what) | 296 | static int pinconf_pins_show(struct seq_file *s, void *what) |
297 | { | 297 | { |
298 | struct pinctrl_dev *pctldev = s->private; | 298 | struct pinctrl_dev *pctldev = s->private; |
299 | const struct pinconf_ops *ops = pctldev->desc->confops; | ||
300 | unsigned i, pin; | 299 | unsigned i, pin; |
301 | 300 | ||
302 | seq_puts(s, "Pin config settings per pin\n"); | 301 | seq_puts(s, "Pin config settings per pin\n"); |
@@ -343,7 +342,6 @@ static int pinconf_groups_show(struct seq_file *s, void *what) | |||
343 | { | 342 | { |
344 | struct pinctrl_dev *pctldev = s->private; | 343 | struct pinctrl_dev *pctldev = s->private; |
345 | const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; | 344 | const struct pinctrl_ops *pctlops = pctldev->desc->pctlops; |
346 | const struct pinconf_ops *ops = pctldev->desc->confops; | ||
347 | unsigned ngroups = pctlops->get_groups_count(pctldev); | 345 | unsigned ngroups = pctlops->get_groups_count(pctldev); |
348 | unsigned selector = 0; | 346 | unsigned selector = 0; |
349 | 347 | ||