commit | ac98da19b1f7362c0773aeab19ce6da03f62ee0b | [log] [tgz] |
---|---|---|
author | Quentin Schulz <quentin.schulz@bootlin.com> | Wed Oct 31 11:20:38 2018 +0100 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Nov 05 10:41:58 2018 -0600 |
tree | 5d5ccf9ffa1eea2ba19acdb210bd8a4af87596df | |
parent | 88767f3b7b21e1d061e2fe56a7126f77709b289e [diff] |
net: phy: mscc: factorize part of config function for VSC8584 Part of the config is common between the VSC8584 and the VSC8574, so to prepare for the upcoming support of VSC8574, use the phy_device.priv pointer that will keep the function that holds code that is PHY-specific and that should be called during config function. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>