pinctrl: armada-37xx: Convert to use match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 3 May 2018 17:26:42 +0000 (20:26 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 May 2018 12:17:21 +0000 (14:17 +0200)
commit59837002c775df7f57f1d494582a7d9c340de890
tree6937224fdd3dccb48dda806e138496af4a41510d
parent90b60552a29b9517b56856b849f229b3e915e6ac
pinctrl: armada-37xx: Convert to use match_string() helper

The new helper returns index of the matching string in an array.
We are going to use it here.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c