diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-10-02 17:28:32 -0700 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-11-11 08:45:02 +0000 |
commit | 5da3f7673764906ce211497c8034ed764077f183 (patch) | |
tree | fae1f36dcd8e8518e2a348a1c43c21b05198abda /drivers/mfd/htc-i2cpld.c | |
parent | mfd: max77620: Do not allocate IRQs upfront (diff) | |
download | linux-dev-5da3f7673764906ce211497c8034ed764077f183.tar.xz linux-dev-5da3f7673764906ce211497c8034ed764077f183.zip |
mfd: arizona: Switch to using devm_gpiod_get()
Now that gpiolib recognizes wlf,reset legacy GPIO and will handle it
even if DTS uses it without -gpio[s] suffix, we can switch to more
standard devm_gpiod_get() and later remove devm_gpiod_get_from_of_node().
Note that we will lose "arizona /RESET" custom GPIO label, but since we
do not set such custom label when using the modern binding, I opted to
not having it here either.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/htc-i2cpld.c')
0 files changed, 0 insertions, 0 deletions