From: Guenter Roeck Date: Sun, 6 Jul 2014 18:39:24 +0000 (-0700) Subject: hwmon: (emc2103) Clamp limits instead of bailing out X-Git-Tag: omap-for-v3.17/fixes-against-rc2~326^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6c2dd20108c35e30e2c1f3c6142d189451a626b;p=pandora-kernel.git hwmon: (emc2103) Clamp limits instead of bailing out It is customary to clamp limits instead of bailing out with an error if a configured limit is out of the range supported by the driver. This simplifies limit configuration, since the user will not typically know chip and/or driver specific limits. Reviewed-by: Jean Delvare Cc: stable@vger.kernel.org Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed