diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-03-27 14:46:13 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-03-27 14:46:13 +0300 |
commit | ce07727aff5bec20f29abe9263a51ed6a355b228 (patch) | |
tree | 6426666f65b35ced021c82458d9463f19bec2f4a /drivers/thermal/broadcom/ns-thermal.c | |
parent | 6babf38d894bec696761c10fbfccafceae76f4eb (diff) | |
parent | 2b6db9efa50799fa75ce609f24b355f29504bd9a (diff) | |
download | linux-ce07727aff5bec20f29abe9263a51ed6a355b228.tar.xz |
Merge back thermal control material for 6.4-rc1.
Diffstat (limited to 'drivers/thermal/broadcom/ns-thermal.c')
-rw-r--r-- | drivers/thermal/broadcom/ns-thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/broadcom/ns-thermal.c b/drivers/thermal/broadcom/ns-thermal.c index 07a8a3f49bd0..d255aa879fc0 100644 --- a/drivers/thermal/broadcom/ns-thermal.c +++ b/drivers/thermal/broadcom/ns-thermal.c @@ -16,7 +16,7 @@ static int ns_thermal_get_temp(struct thermal_zone_device *tz, int *temp) { - void __iomem *pvtmon = tz->devdata; + void __iomem *pvtmon = thermal_zone_device_priv(tz); int offset = thermal_zone_get_offset(tz); int slope = thermal_zone_get_slope(tz); u32 val; |