From: Guenter Roeck Date: Sun, 16 Aug 2015 00:17:53 +0000 (-0700) Subject: hwmon: (ltc2978) Introduce helper functions for min and max values X-Git-Tag: omap-for-v4.3/fixes-merge-window~36^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee847a252664f54d06bcc6ab2864322cbcb52692;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed