diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-09-04 23:31:02 -0700 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2022-10-02 12:55:30 +0200 |
commit | 4f719022a753bb15720c9ddeb0387a93caa372ce (patch) | |
tree | 1001cc4adf4b333b866fe96d45f6b018f9e453e5 /drivers/vlynq/vlynq.c | |
parent | 434e5f93ed16f01936bfc492798cf610be60fbe9 (diff) |
watchdog: bd9576_wdt: switch to using devm_fwnode_gpiod_get()
I would like to stop exporting OF-specific devm_gpiod_get_from_of_node()
so that gpiolib can be cleaned a bit, so let's switch to the generic
fwnode property API.
While at it, switch the rest of the calls to read properties in
bd9576_wdt_probe() to the generic device property API as well.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220903-gpiod_get_from_of_node-remove-v1-10-b29adfb27a6c@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/vlynq/vlynq.c')
0 files changed, 0 insertions, 0 deletions