dsa: mv88e6xxx: Kill the REG_READ and REG_WRITE macros
authorAndrew Lunn <andrew@lunn.ch>
Thu, 14 Apr 2016 21:47:12 +0000 (23:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Apr 2016 23:23:45 +0000 (19:23 -0400)
commit48ace4ef4c3f99ebf6f801c9a8326a4a39f31dbf
treea743037cc79c8ae42da8dcc63a5d19c2c7065e4c
parent756ca874417695f77941948a77e9b8562635cc0a
dsa: mv88e6xxx: Kill the REG_READ and REG_WRITE macros

These macros hide a ds variable and a return statement on error, which
can lead to locking issues. Kill them off.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6123.c
drivers/net/dsa/mv88e6131.c
drivers/net/dsa/mv88e6171.c
drivers/net/dsa/mv88e6352.c
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h