commit | ee847a252664f54d06bcc6ab2864322cbcb52692 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sat Aug 15 17:17:53 2015 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Aug 17 11:55:56 2015 -0700 |
tree | 908cc93949195d60edea9cecb0afc81aff0be6bd | |
parent | 8582bcc8ebb21375b37f337c58ca783b997a0355 [diff] |
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>