commit | b626f2cb75cfc9ab707fce6e60df0d94650a4abf | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Fri Dec 11 18:26:00 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 12 00:45:37 2015 -0500 |
tree | 0625ead6658b4654fcf09c1b8c4c78ed7578f5fc | |
parent | acf35a4ec6f75bcb1c20c7aa02586de6220d76c5 [diff] |
mlxsw: core: Fix temperature sensor index during initialization Sensor index should be passed instead of 0. For now, this does not make a difference, since there is so far only one temperature sensor exposed by HW. Fixes: 89309da39 ("mlxsw: core: Implement temperature hwmon interface") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>