aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105/sja1105_spi.c
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-06-08 16:03:41 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-09 19:58:58 -0700
commitc44d05358ebfd24d51dad9b2291731df5a11ba62 (patch)
tree579111f4ba9dfcfa08e0ad4afde7de15d8585586 /drivers/net/dsa/sja1105/sja1105_spi.c
parentaf_key: make use of BUG_ON macro (diff)
downloadlinux-dev-c44d05358ebfd24d51dad9b2291731df5a11ba62.tar.xz
linux-dev-c44d05358ebfd24d51dad9b2291731df5a11ba62.zip
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>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_spi.c')
0 files changed, 0 insertions, 0 deletions