net: dsa: Add support for reporting switch chip temperatures
authorGuenter Roeck <linux@roeck-us.net>
Wed, 29 Oct 2014 17:44:58 +0000 (10:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 18:54:11 +0000 (14:54 -0400)
commit51579c3f1a9192b75365576227d40c7619493285
treee8609bf267a534ab1e5ea4418e868e476a6f517a
parent2716777b4f21649fb907b4a4fb96e1c8d0a5ec16
net: dsa: Add support for reporting switch chip temperatures

Some switches provide chip temperature data.
Add support for reporting it through the hwmon subsystem.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/Kconfig
net/dsa/dsa.c