]> git.ipfire.org Git - people/ms/linux.git/commit
hwmon: (lm83) Replace temperature conversion macros with standard functions
authorGuenter Roeck <linux@roeck-us.net>
Thu, 23 Dec 2021 03:03:04 +0000 (19:03 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:16 +0000 (17:03 -0800)
commit362c5663e8760b145a67adb3a7704de401f6ceab
tree79ba9631f16588deb7ed6743ea2be59fa338c8bf
parent719af4f1a40bdf46cab7e4db216af7084a70897b
hwmon: (lm83) Replace temperature conversion macros with standard functions

Replace TEMP_FROM_REG with direct calculation and TEMP_TO_REG
with standard functions/macros.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm83.c