summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-04-14 17:14:02 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-04-14 17:14:02 +0200
commit065ca2a8c6ee601d990ea10efc71b861c5afc4fd (patch)
treeb158f7026bdf08cbc2fdd7675568e76342af4336 /drivers/input
parent117e4e5bd9d47b89777dbf6b37a709dcfe59520f (diff)
parentd4d8516624e1042d33011cf93b6e9c220a22c9f0 (diff)
Merge back Intel 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 = {