]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: of: Allow -gpio suffix for property names
authorThierry Reding <treding@nvidia.com>
Wed, 23 Apr 2014 15:28:09 +0000 (17:28 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Apr 2014 19:35:10 +0000 (12:35 -0700)
commit85ea5ffd1532896b44851fc133fa14d0fc096c2b
tree6d19c8fb4f275b2bc8a798ffc05b18ca589830b5
parent6aa866dc4cf9e88519bda03ff4e8ad1b79d9cd73
gpio: of: Allow -gpio suffix for property names

Many bindings use the -gpio suffix in property names. Support this in
addition to the -gpios suffix when requesting GPIOs using the new
descriptor-based API.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c