net: dsa: sja1105: Use SPEED_{10, 100, 1000, UNKNOWN} macros
authorVladimir Oltean <olteanv@gmail.com>
Sat, 8 Jun 2019 13:03:41 +0000 (16:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 02:58:58 +0000 (19:58 -0700)
commitc44d05358ebfd24d51dad9b2291731df5a11ba62
tree579111f4ba9dfcfa08e0ad4afde7de15d8585586
parentde47c5d8e11dda678e4354eeb4235e58e92f7cd2
net: dsa: sja1105: Use SPEED_{10, 100, 1000, UNKNOWN} macros

This is a cosmetic patch that replaces the link speed numbers used in
the driver with the corresponding ethtool macros.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_main.c