summaryrefslogtreecommitdiff
path: root/drivers/hwmon/thmc50.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2024-02-02 12:21:42 +0300
committerGuenter Roeck <linux@roeck-us.net>2024-02-25 23:37:37 +0300
commit326241f71f3d8de3c62236b559ce3f2f201aec4d (patch)
tree7f1e60780032fa4d11580f03e72b9daf6dc4694e /drivers/hwmon/thmc50.c
parentb0b01414a26105b68cbce308df076ec66c72bddd (diff)
downloadlinux-326241f71f3d8de3c62236b559ce3f2f201aec4d.tar.xz
hwmon: (coretemp) Split package temp_data and core temp_data
Saving package temp_data and core temp_data in one array with different offsets is fragile. Split them and clean up crabbed maths and macros. This also fixes a problem that pdata->core_data[0] was never used. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Link: https://lore.kernel.org/r/20240202092144.71180-10-rui.zhang@intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/thmc50.c')
0 files changed, 0 insertions, 0 deletions