mlxsw: core: Implement fan control using hwmon
authorJiri Pirko <jiri@mellanox.com>
Fri, 27 Nov 2015 12:45:59 +0000 (13:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Nov 2015 20:05:41 +0000 (15:05 -0500)
commit52581961d83d3550959fdc2e33566c7c9bb1251d
tree6e6bac1b49009ed4e0766f8e325ef5d53a6626c6
parent5246f2e29ab89b3fba422afc5bcc0f434e57af9c
mlxsw: core: Implement fan control using hwmon

ASIC provides access to fans. Implement their exposure to userspace
using hwmon.

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