net: dsa: mv88e6xxx: kill last locked reg_read
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 20 Jul 2016 22:18:36 +0000 (18:18 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jul 2016 04:10:54 +0000 (21:10 -0700)
commit8f6345b2483be3eec9faac39d173b98790724011
tree7479fb5f7ca42aaa2c421887de598b9570b902d4
parent855b193290e6a07b343ee3c059ea6b4bd6cdc2bf
net: dsa: mv88e6xxx: kill last locked reg_read

Get rid of the last usage of the locked mv88e6xxx_reg_read function with
a new mv88e6xxx_port_read helper, useful later for chips with different
port registers base address.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c