net: dsa: mv88e6xxx: extract ATU data write access
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 4 Sep 2015 18:34:11 +0000 (14:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2015 19:04:21 +0000 (12:04 -0700)
commit37705b731500b0ce9fb4ead21a7cdfc241a401fe
tree9ccfe45fb8fa9349c6bdc774748d3154426cf024
parent70cc99d10ca17b8688575d2579e5a2f6c4fa6f29
net: dsa: mv88e6xxx: extract ATU data write access

Other ATU commands need to write the ATU data register. To ease the
introduction of such commands, extract the ATU data write access from
_mv88e6xxx_atu_load to its own function.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c