diff options
| author | Zhang Rui <[email protected]> | 2024-02-02 17:21:38 +0800 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2024-02-25 12:37:37 -0800 |
| commit | 25f8e01baa05dfeb1b477112b1fec94f768f27b4 (patch) | |
| tree | 5f9c1c46d7e1d06d2c2a0a0800110e7d527121b7 /tools/perf/scripts/python | |
| parent | c8c2074020a878ca6c6106a2cf224b536247e11a (diff) | |
hwmon: (coretemp) Remove unnecessary dependency of array index
When sensor_device_attribute pointer is available, use container_of() to
get the temp_data address.
This removes the unnecessary dependency of cached index in
pdata->core_data[].
No functional change.
Signed-off-by: Zhang Rui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions