Re: [net-next: PATCH v2 2/5] device property: Introduce fwnode_get_phy_mode()

2018-01-03 Thread Rafael J. Wysocki
On Sunday, December 31, 2017 12:58:37 PM CET Marcin Wojtas wrote: > Until now there were two almost identical functions for > obtaining network PHY mode - of_get_phy_mode() and, > more generic, device_get_phy_mode(). However it is not uncommon, > that the network interface is represented as a

[net-next: PATCH v2 2/5] device property: Introduce fwnode_get_phy_mode()

2017-12-31 Thread Marcin Wojtas
Until now there were two almost identical functions for obtaining network PHY mode - of_get_phy_mode() and, more generic, device_get_phy_mode(). However it is not uncommon, that the network interface is represented as a child of the actual controller, hence it is not associated directly to any