ixgbe: Start temperature sensor attribute index with 1
authorGuenter Roeck <linux@roeck-us.net>
Tue, 26 Nov 2013 07:15:39 +0000 (07:15 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 18 Dec 2013 06:43:07 +0000 (22:43 -0800)
commit22dd81c5c824aeb68250f618e76f8a7b03ba9ce7
tree794ba1628b15d0f7bb816bdf59d0213ea6f9b2d3
parent03b77d8180378632e76f1157d9a685ca4c79d0cf
ixgbe: Start temperature sensor attribute index with 1

Per hwmon ABI, temperature sensor attribute index starts with 1, not 0.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c