Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ee847a25 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarMichael Jones <mike@proclivis.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 8582bcc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment