summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2024-02-02 17:21:38 +0800
committerGuenter Roeck <linux@roeck-us.net>2024-02-25 12:37:37 -0800
commit25f8e01baa05dfeb1b477112b1fec94f768f27b4 (patch)
tree5f9c1c46d7e1d06d2c2a0a0800110e7d527121b7 /tools/perf/scripts/python/export-to-postgresql.py
parentc8c2074020a878ca6c6106a2cf224b536247e11a (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 <rui.zhang@intel.com> Link: https://lore.kernel.org/r/20240202092144.71180-6-rui.zhang@intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions