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)
commitdd34c37aa3e81715a1ed8da61fa438072428e188
tree6d19c8fb4f275b2bc8a798ffc05b18ca589830b5
parent9370084e685666fe33e9d62707433fa112446b03
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