ACPI: thermal: Fold acpi_thermal_get_info() into its caller
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 Sep 2023 18:36:21 +0000 (20:36 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 26 Sep 2023 15:56:35 +0000 (17:56 +0200)
commitb09872a652d386207600fcd001077251c0eae15a
tree1ccd83e4d6ca0cc97c52e77f4a35cc924856f33a
parent4be32333d941a53dcfb48e342c808c63a3b25576
ACPI: thermal: Fold acpi_thermal_get_info() into its caller

There is only one caller of acpi_thermal_get_info() and the code from
it can be folded into its caller just fine, so do that.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/acpi/thermal.c