]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbcec6f3df3b33a6caa0da586d386f6015ee48a3
treea743037cc79c8ae42da8dcc63a5d19c2c7065e4c
parent6d3bb1735d3e2b7870959e6c68cbe0b9050d2ab6
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