mbox series

[v3,0/3] net: phy: switch to using fwnode_gpiod_get_index

Message ID 20200103010320.245675-1-dmitry.torokhov@gmail.com
Headers show
Series net: phy: switch to using fwnode_gpiod_get_index | expand

Message

Dmitry Torokhov Jan. 3, 2020, 1:03 a.m. UTC
This series switches phy drivers form using fwnode_get_named_gpiod() and
gpiod_get_from_of_node() that are scheduled to be removed in favor
of fwnode_gpiod_get_index() that behaves more like standard
gpiod_get_index() and will potentially handle secondary software
nodes in cases we need to augment platform firmware.

Now that the dependencies have been merged into networking tree the
patches can be applied there as well.

Thanks!

v3:
        - rebased on top of net-next

v2:
        - rebased on top of Linus' W devel branch
        - added David's ACKs



Dmitry Torokhov (3):
  net: phylink: switch to using fwnode_gpiod_get_index()
  net: phy: fixed_phy: fix use-after-free when checking link GPIO
  net: phy: fixed_phy: switch to using fwnode_gpiod_get_index

 drivers/net/phy/fixed_phy.c | 11 ++++-------
 drivers/net/phy/phylink.c   |  4 ++--
 2 files changed, 6 insertions(+), 9 deletions(-)

Comments

David Miller Jan. 5, 2020, 10:27 p.m. UTC | #1
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: Thu,  2 Jan 2020 17:03:17 -0800

> This series switches phy drivers form using fwnode_get_named_gpiod() and
> gpiod_get_from_of_node() that are scheduled to be removed in favor
> of fwnode_gpiod_get_index() that behaves more like standard
> gpiod_get_index() and will potentially handle secondary software
> nodes in cases we need to augment platform firmware.
> 
> Now that the dependencies have been merged into networking tree the
> patches can be applied there as well.
> 
> v3:
>         - rebased on top of net-next
> 
> v2:
>         - rebased on top of Linus' W devel branch
>         - added David's ACKs

Series applied, thanks.