aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pinctrl/pinconf.c2
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,
296static int pinconf_pins_show(struct seq_file *s, void *what) 296static 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