net: dsa/ar9331: convert to mac_link_up()
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 24 Jun 2020 10:21:32 +0000 (11:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:01:15 +0000 (16:01 -0700)
commita5440cbecd99e2564504572b39bc70ea7addfc25
treed7952aca12650c31dbf8e6281b0edc6359bcb0c5
parent6d29302652587001038c8f5ac0e0c7fa6592bbbc
net: dsa/ar9331: convert to mac_link_up()

Convert the ar9331 DSA driver to use the finalised link parameters in
mac_link_up() rather than the parameters in mac_config().

Tested-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca/ar9331.c