Re: [PATCH v4 3/9] pinctrl: convert to use match_string() helper

2016-02-02 Thread Andy Shevchenko
On Mon, 2016-02-01 at 22:02 -0800, Andrew Morton wrote: > On Thu, 28 Jan 2016 15:14:19 +0200 Andy Shevchenko @linux.intel.com> wrote: > > > The new helper returns index of the mathing string in an array. We > > would use it > > here. > > > > --- a/drivers/pinctrl/pinmux.c > > +++ b/drivers/pinct

Re: [PATCH v4 3/9] pinctrl: convert to use match_string() helper

2016-02-01 Thread Andrew Morton
On Thu, 28 Jan 2016 15:14:19 +0200 Andy Shevchenko wrote: > The new helper returns index of the mathing string in an array. We would use > it > here. > > --- a/drivers/pinctrl/pinmux.c > +++ b/drivers/pinctrl/pinmux.c > @@ -334,7 +334,6 @@ int pinmux_map_to_setting(struct pinctrl_map const *ma

[PATCH v4 3/9] pinctrl: convert to use match_string() helper

2016-01-28 Thread Andy Shevchenko
The new helper returns index of the mathing string in an array. We would use it here. Signed-off-by: Andy Shevchenko Acked-by: Linus Walleij --- drivers/pinctrl/pinmux.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl