OSDN Git Service

gpio: of: Handle both enable-gpio{,s}
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 20 Feb 2019 11:24:30 +0000 (12:24 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Feb 2019 12:12:04 +0000 (13:12 +0100)
commit21b4ab8f9e7100286c380a13e0e46ca6bf35e692
treeb0a22e4ebf25a912046e6b6cdf9cb497abc610a8
parent692ef26e72fcce0c1e73c41683fd3512f3719d55
gpio: of: Handle both enable-gpio{,s}

Handle both enable-gpio and enable-gpios properties of the GPIO
regulator in the quirk. The later is the preferred modern name
of the property.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Jan Kotas <jank@cadence.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc@vger.kernel.org
To: linux-gpio@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c