]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gpiolib: of: add a fallback for wlf,reset GPIO name
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 11 Sep 2019 07:52:05 +0000 (00:52 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Sep 2019 09:29:17 +0000 (10:29 +0100)
commit11c43bb022b373d2fdb84950ebf1911362f3f010
treed46e79d87bb01d1c2f2f565c10a468c850058c92
parentc34a024e4ee087b6d9e534160990082c3d9e7103
gpiolib: of: add a fallback for wlf,reset GPIO name

The old Arizona binding did not use -gpio or -gpios suffix, so
devm_gpiod_get() does not work for it. As it is the one of a few users
of devm_gpiod_get_from_of_node() API that I want to remove, I'd rather
have a small quirk in the gpiolib OF handler, and switch Arizona
driver to devm_gpiod_get().

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20190911075215.78047-2-dmitry.torokhov@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c