]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: Convert to use match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 3 May 2018 17:14:46 +0000 (20:14 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 May 2018 12:35:24 +0000 (14:35 +0200)
commit4b21f94a3001ba5326425d6b6d93bc63ddebdc97
tree64c8f3b0cc1d57b0964ca766c67f0e89ecd102f6
parent6906a4f9d10b27853e80998afcfb290d8f91c071
gpio: 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/gpio/gpiolib-of.c