diff options
author | Zhang Rui <rui.zhang@intel.com> | 2024-02-02 12:21:42 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-02-25 23:37:37 +0300 |
commit | 326241f71f3d8de3c62236b559ce3f2f201aec4d (patch) | |
tree | 7f1e60780032fa4d11580f03e72b9daf6dc4694e /drivers/hwmon/asb100.c | |
parent | b0b01414a26105b68cbce308df076ec66c72bddd (diff) | |
download | linux-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/asb100.c')
0 files changed, 0 insertions, 0 deletions