-
Jean Delvare authored
commit 2aba6cac upstream. The definition of TO_ATTR_NO in the non-SMP case is wrong. As the SMP definition resolves to the correct value, just use this for both cases. Without this fix the temperature attributes are named temp0_* instead of temp2_*, so libsensors won't pick them. Broken since kernel 3.0. Signed-off-by:
Jean Delvare <khali@linux-fr.org> Tested-by:
Phil Sutter <phil@nwl.cc> Acked-by:
Durgadoss R <Durgadoss.r@intel.com> Acked-by:
Guenter Roeck <guenter.roeck@ericsson.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
e4b63698