From: Guenter Roeck Date: Thu, 7 Feb 2013 04:49:12 +0000 (-0800) Subject: hwmon: (pmbus/lm25066) Clamp limit attributes X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~140^2~20 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2507abb3a7a89fa496769f2a224585e77f5fb195;p=pandora-kernel.git hwmon: (pmbus/lm25066) Clamp limit attributes Limits on all supported sensors and chips have to be within 0..0x0fff, and limits are always positive. Clamp written values in chip driver. Also clear value cache to ensure that the actually written value is read back and reported correctly. Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed