hwmon: (coretemp) Introduce enum for attr index
authorZhang Rui <rui.zhang@intel.com>
Fri, 2 Feb 2024 09:21:37 +0000 (17:21 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 25 Feb 2024 20:37:37 +0000 (12:37 -0800)
commitc8c2074020a878ca6c6106a2cf224b536247e11a
treec790527060cd9d0567ee62675a6e72bfff22c238
parented3e03790c5c9f29f032dde9bb784e198984a759
hwmon: (coretemp) Introduce enum for attr index

Introduce enum coretemp_attr_index to better describe the index of each
sensor attribute.

No functional change.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20240202092144.71180-5-rui.zhang@intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/coretemp.c