]> git.baikalelectronics.ru Git - 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)
commitf3ce83828d9810dfa1c6a569d95184236ad447fc
treec14858ba1398bfe294b1a5dde678e920e9f50715
parent804cb48f317e4d0d96e6da77e70cf6daccea1db8
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