Skip to content

Commit

Permalink
pinctrl: pinconf: remove warning: unused variable 'ops'
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
  • Loading branch information
alexandrebelloni authored and linusw committed Dec 13, 2013
1 parent 4d9b8a8 commit b5728cf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/pinctrl/pinconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit b5728cf

Please sign in to comment.