summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-03-27 13:46:13 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-03-27 13:46:13 +0200
commitce07727aff5bec20f29abe9263a51ed6a355b228 (patch)
tree6426666f65b35ced021c82458d9463f19bec2f4a /drivers/input
parent6babf38d894bec696761c10fbfccafceae76f4eb (diff)
parent2b6db9efa50799fa75ce609f24b355f29504bd9a (diff)
Merge back thermal control material for 6.4-rc1.
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/sun4i-ts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/sun4i-ts.c b/drivers/input/touchscreen/sun4i-ts.c
index 73eb8f80be6e..1117fba30020 100644
--- a/drivers/input/touchscreen/sun4i-ts.c
+++ b/drivers/input/touchscreen/sun4i-ts.c
@@ -194,7 +194,7 @@ static int sun4i_get_temp(const struct sun4i_ts_data *ts, int *temp)
static int sun4i_get_tz_temp(struct thermal_zone_device *tz, int *temp)
{
- return sun4i_get_temp(tz->devdata, temp);
+ return sun4i_get_temp(thermal_zone_device_priv(tz), temp);
}
static const struct thermal_zone_device_ops sun4i_ts_tz_ops = {