net: dsa: mv88e6060: Replace REG_WRITE macro
authorAndrew Lunn <andrew@lunn.ch>
Sat, 27 Apr 2019 17:32:58 +0000 (19:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Apr 2019 00:23:04 +0000 (20:23 -0400)
commitc4362c37431b999c84dd047f0125592987c09142
tree96654873a2a83abcef96933b5622d70c1e61a7c0
parent3e8bc1b886411459f94d57557409bb9bfdf89f85
net: dsa: mv88e6060: Replace REG_WRITE macro

The REG_WRITE macro contains a return statement, making it not very
safe. Remove it by inlining the code.

Signed-off-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/mv88e6060.c