net: phy: spi_ks8895: switch to using gpiod API
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 6 Sep 2022 20:49:22 +0000 (13:49 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 15 Sep 2022 09:43:51 +0000 (11:43 +0200)
commit006534ec280495f6679701ae118713d923a98c55
tree08d27065673856b01e7c0c33ebbe399653d35def
parent7b77bb5c8130625dd4dac70e1968269a010adf6d
net: phy: spi_ks8895: 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-3-dmitry.torokhov@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/spi_ks8995.c