[PATCH v2] pinctrl: shut up a couple of pinctrl warnings
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Wed Aug 7 15:16:44 EDT 2013
Hello,
On Sun, Jul 28, 2013 at 01:13:00PM +0100, Russell King - ARM Linux wrote:
> diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c
> index e875f21..d16ef87 100644
> --- a/drivers/pinctrl/pinconf.c
> +++ b/drivers/pinctrl/pinconf.c
> [...]
> @@ -450,14 +449,8 @@ static int pinconf_dbg_config_print(struct seq_file *s, void *d)
> for (j = 0; j < map->data.configs.num_configs; j++) {
> if (!strcmp(map->data.configs.group_or_pin,
> dbg->pin_name)) {
> - /*
> - * We found the right pin / state, read the
> - * config and he pctldev for later use
he?
> - */
> - configs = &map->data.configs;
> - pctldev = get_pinctrl_dev_from_devname
> - (map->ctrl_dev_name);
> - found = true;
> + /* We found the right pin / state */
> + found = map;
> break;
> }
> }
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel
mailing list