net: dsa: qca8k: improve qca8k read/write/rmw bus access
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 14 May 2021 20:59:53 +0000 (22:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2021 22:30:22 +0000 (15:30 -0700)
commit504bf65931824eda83494e5b5d75686e27ace03e
tree3d1f8acef6fb22c5981a8cf55a353e83f5fe6a34
parent2ad255f2faaffb3af786031fba2e7955454b558a
net: dsa: qca8k: improve qca8k read/write/rmw bus access

Put bus in local variable to improve faster access to the mdio bus.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c