igb: Start temperature sensor attribute index with 1
authorGuenter Roeck <linux@roeck-us.net>
Tue, 26 Nov 2013 07:15:34 +0000 (07:15 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 10 Dec 2013 09:27:35 +0000 (01:27 -0800)
commite6e25bba9b8a343af6b5e281a0378d3c8ae52165
treedb9f14c8b00c57b59ea6ce5c08702fefb4f21903
parente3670b81954ab1247341a08514aa4df09f0b495e
igb: 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>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_hwmon.c