thermal: intel: int340x_thermal: Use thermal zone accessor functions
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Mar 2024 11:32:09 +0000 (12:32 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Mar 2024 20:38:22 +0000 (21:38 +0100)
commit53b94f421d53d2a54a8ed42fbcba8b5dd39695fe
tree61553d52d6d18f0019318961632c3df08ab95988
parent166d017d345904444f21b203f3b7bc75f34b94ac
thermal: intel: int340x_thermal: Use thermal zone accessor functions

Make int340x_thermal use the dedicated accessor functions for the
thermal zone device object address and the thermal zone type string.

This is requisite for future thermal core improvements.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c