mlxsw: core: Allow to reset temperature history via hwmon interface
authorJiri Pirko <jiri@mellanox.com>
Mon, 21 Dec 2015 10:14:21 +0000 (11:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Dec 2015 21:00:04 +0000 (16:00 -0500)
commite7bc73cbb522c1704aafc428d5d9763c44666e38
tree53296c7da01f5fd1b5ee5904e060f0fab12680e2
parentf2830d09895a64ba7a1a2c6ef41106c72e3654b2
mlxsw: core: Allow to reset temperature history via hwmon interface

Add another sysfs hwmon attribute to expose possibility to reset
temperature sensors history.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c