summaryrefslogtreecommitdiff
path: root/drivers/hwmon/sht21.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2024-02-02 12:21:43 +0300
committerGuenter Roeck <linux@roeck-us.net>2024-02-25 23:37:37 +0300
commit18b24a5f9ca3f180f0be72b98f170f043a5d8961 (patch)
treebd1c42e261de7c5fb59d66bed39906a29fd26930 /drivers/hwmon/sht21.c
parent326241f71f3d8de3c62236b559ce3f2f201aec4d (diff)
downloadlinux-18b24a5f9ca3f180f0be72b98f170f043a5d8961.tar.xz
hwmon: (coretemp) Remove redundant temp_data->is_pkg_data
temp_data->index saves the index in pdata->core_data[]. It is not used by package temp_data. Use temp_data->index as the indicator of package temp_data and remove redundant temp_data->is_pkg_data. No functional change. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Link: https://lore.kernel.org/r/20240202092144.71180-11-rui.zhang@intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/sht21.c')
0 files changed, 0 insertions, 0 deletions