[PATCH 1/6] fixed_phy: pass phy_device instead of net_device to link_update() function

2015-03-27 Thread Stas Sergeev
Looking up phy_device pointer from net_device requires looking into private data. This may be problematic if phy is handled separately from net_device. Pass phy_device pointer to link_update() function because looking up net_device pointer from phy_device is trivial, if needed. CC: Florian

PATCH 1/6] fixed_phy: pass phy_device instead of net_device to link_update() function

2015-03-27 Thread Stas Sergeev
Looking up phy_device pointer from net_device requires looking into private data. This may be problematic if phy is handled separately from net_device. Pass phy_device pointer to link_update() function because looking up net_device pointer from phy_device is trivial, if needed. CC: Florian

PATCH 1/6] fixed_phy: pass phy_device instead of net_device to link_update() function

2015-03-27 Thread Stas Sergeev
Looking up phy_device pointer from net_device requires looking into private data. This may be problematic if phy is handled separately from net_device. Pass phy_device pointer to link_update() function because looking up net_device pointer from phy_device is trivial, if needed. CC: Florian

[PATCH 1/6] fixed_phy: pass phy_device instead of net_device to link_update() function

2015-03-27 Thread Stas Sergeev
Looking up phy_device pointer from net_device requires looking into private data. This may be problematic if phy is handled separately from net_device. Pass phy_device pointer to link_update() function because looking up net_device pointer from phy_device is trivial, if needed. CC: Florian