thermal: ACPI: Constify acpi_thermal_zone_ops
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Feb 2024 12:48:34 +0000 (13:48 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Feb 2024 17:24:48 +0000 (18:24 +0100)
commit75fb8714728460c4584c72e2f6410944a0b2cc44
tree6d26d4a85e61ada980ab6ef9ffc6757628dd1e2b
parent698a1eb1f75eb6ac957d2af7721a3b1a94281e5d
thermal: ACPI: Constify acpi_thermal_zone_ops

Because thermal zone operations are now stored directly in struct
thermal_zone_device, acpi_thermal_zone_ops need not be modified by
the thermal core and so it can be const.

Adjust the code accordingly.

No functional impact.

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