From: Guenter Roeck Date: Thu, 21 Feb 2013 18:49:40 +0000 (-0800) Subject: hwmon: (pmbus/ltc2978) Use detected chip ID to select supported functionality X-Git-Tag: v3.9-rc2~21^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f366fccd0809f13ba20d64cae3c83f7338c88af7;p=pandora-kernel.git hwmon: (pmbus/ltc2978) Use detected chip ID to select supported functionality We read the chip ID from the chip, use it to determine if the chip ID provided to the driver is correct, and report it if wrong. We should also use the correct chip ID to select supported functionality. Signed-off-by: Guenter Roeck Cc: stable@vger.kernel.org # 3.2+ Acked-by: Jean Delvare --- Reading git-diff-tree failed