summaryrefslogtreecommitdiff
path: root/drivers/hwmon/wm831x-hwmon.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-05-10 22:44:28 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-12 02:34:23 +0300
commit15d7d7d435cfe1faa1abf62459d6269bb734cfe7 (patch)
tree1b85e16c71241eddbb0caff60d623f137a382c4d /drivers/hwmon/wm831x-hwmon.c
parentc3f1010b30f7fc611139cfb702a8685741aa6827 (diff)
downloadlinux-15d7d7d435cfe1faa1abf62459d6269bb734cfe7.tar.xz
net: dsa: mv88e6xxx: abstract VTU/STU data access
Both VTU and STU operations use the same routine to access their (common) data registers, with a different offset. Add VTU and STU specific read and write functions to the data registers to abstract the required offset. 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>
Diffstat (limited to 'drivers/hwmon/wm831x-hwmon.c')
0 files changed, 0 insertions, 0 deletions