From: Guenter Roeck Date: Sat, 12 Mar 2011 02:09:33 +0000 (-0800) Subject: hwmon: (pmbus) Introduce infrastructure to detect sensors and limit registers X-Git-Tag: v3.0-rc1~342^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4ce237b7f7d31abe9c5b0c443a64573ace4933d;p=pandora-kernel.git hwmon: (pmbus) Introduce infrastructure to detect sensors and limit registers This commit replaces hard-coded sensor and limit register detection code with table based sensor detection. This change eliminates code block repetition and reduces code size. Signed-off-by: Guenter Roeck Reviewed-by: Tom Grennan --- Reading git-diff-tree failed