thermal: trip: Constify thermal zone argument of thermal_zone_trip_id()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 Dec 2023 19:53:52 +0000 (20:53 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Jan 2024 11:17:45 +0000 (12:17 +0100)
commitf380846462b2d8341be303db954d4305d419b883
tree1a4accfbfe7401ccadf6c335353633b42a41c376
parentd654362d53a83ef3b921f3d06812e12290646a90
thermal: trip: Constify thermal zone argument of thermal_zone_trip_id()

Because thermal_zone_trip_id() does not update the thermal zone object
passed to it, its pointer argument representing the thermal zone can be
const, so adjust its definition accordingly.

No functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
drivers/thermal/thermal_core.h
drivers/thermal/thermal_trip.c