hwmon: (ltc2978) Introduce helper functions for min and max values
The code used to determine historic low and high peaks is repeated several times. Introduce helper functions to simplify it. Tested-by: Michael Jones <mike@proclivis.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Showing
Please register or sign in to comment