From: Guenter Roeck Date: Tue, 2 Aug 2011 18:08:57 +0000 (-0700) Subject: hwmon: (pmbus/adm1275) Add support for second current limit X-Git-Tag: v3.2-rc1~171^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5e6763667ffc94eaad4634841cb1b7ecd951fb7;p=pandora-kernel.git hwmon: (pmbus/adm1275) Add support for second current limit ADM1275 supports a second current limit, which can be configured as either lower or upper limit. Add support for it and report it as either lower or upper critical current limit. Also replace error return code EINVAL for unsupported pages with ENXIO as this is more appropriate for the observed condition. Signed-off-by: Guenter Roeck Acked-by: Jean Delvare --- Reading git-diff-tree failed