|
@@ -941,13 +941,13 @@ static int acpi_thermal_get_info(struct acpi_thermal *tz)
|
|
if (!tz)
|
|
if (!tz)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
- /* Get temperature [_TMP] (required) */
|
|
|
|
- result = acpi_thermal_get_temperature(tz);
|
|
|
|
|
|
+ /* Get trip points [_CRT, _PSV, etc.] (required) */
|
|
|
|
+ result = acpi_thermal_get_trip_points(tz);
|
|
if (result)
|
|
if (result)
|
|
return result;
|
|
return result;
|
|
|
|
|
|
- /* Get trip points [_CRT, _PSV, etc.] (required) */
|
|
|
|
- result = acpi_thermal_get_trip_points(tz);
|
|
|
|
|
|
+ /* Get temperature [_TMP] (required) */
|
|
|
|
+ result = acpi_thermal_get_temperature(tz);
|
|
if (result)
|
|
if (result)
|
|
return result;
|
|
return result;
|
|
|
|
|