]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: dsa: Centralise code for reading the temperature sensor
authorAndrew Lunn <andrew@lunn.ch>
Sat, 15 Nov 2014 21:24:51 +0000 (22:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Nov 2014 20:47:26 +0000 (15:47 -0500)
commiteaa237657b97068db0eb49bae86714e9324cff9a
treec14858ba1398bfe294b1a5dde678e920e9f50715
parent6f2aed6ad7242ead0db1278b4b48fabb81bbc6a7
net: dsa: Centralise code for reading the temperature sensor

The method to read the temperature used in the mve6123_61_65 driver
can also be used for other chips. Move the code into the shared code
base of mv88e6xxx.c.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6123_61_65.c
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h