Daniel Lezcano 3034f859b9 thermal: Add a thermal zone id accessor
In order to get the thermal zone id but without directly accessing the
thermal zone device structure, add an accessor.

Use the accessor in the hwmon_scmi and acpi_thermal.

No functional change intented.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-03-03 20:45:02 +01:00
..
2023-02-21 15:27:48 -08:00
2022-10-03 20:09:22 +02:00
2023-02-21 12:23:24 -08:00
2023-02-24 12:58:55 -08:00
2022-12-15 18:38:22 +01:00
2022-05-25 15:37:07 +02:00
2022-11-10 20:21:35 +01:00
2022-12-12 13:38:17 -08:00
2022-01-22 08:33:37 +02:00
2023-02-21 12:23:24 -08:00
2022-09-30 20:05:16 +02:00
2023-01-19 13:52:05 -08:00
2022-12-30 18:39:09 +01:00
2022-10-03 20:09:22 +02:00
2022-09-09 09:26:22 +02:00