]> 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)
commit2fe188e18de31e90e2a47fd4e9c661aead6a21bd
treec14858ba1398bfe294b1a5dde678e920e9f50715
parent4fc6d119cb7e5e97a1d11fc37d10e0a9246476f0
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