net: davicom: dm9000: switch to using gpiod API
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 6 Sep 2022 20:49:20 +0000 (13:49 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 15 Sep 2022 09:43:51 +0000 (11:43 +0200)
commitdb49ca38579d44db7c246c5b74824b6406319b40
treed896d87339221a94925369e31dcad2e0bf86b46d
parentc9ae520ac3faf2f272b5705b085b3778c7997ec8
net: davicom: dm9000: switch to using gpiod API

This patch switches the driver away from legacy gpio/of_gpio API to
gpiod API, and removes use of of_get_named_gpio_flags() which I want to
make private to gpiolib.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220906204922.3789922-1-dmitry.torokhov@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/davicom/dm9000.c