From: Guenter Roeck Date: Sat, 9 Jul 2011 19:06:45 +0000 (-0700) Subject: hwmon: (pmbus) Strengthen check for status register existence X-Git-Tag: v3.1-rc1~110^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6bfb767e431d3a236eab439d3660ff562598c84;p=pandora-kernel.git hwmon: (pmbus) Strengthen check for status register existence With virtual register page support, it is now possible that the status register on virtual pages does not exist or is itself virtual. To take this into account when creating alarm attributes, generate those attributes only if the status register on the respective page is known to exist. Signed-off-by: Guenter Roeck Reviewed-by: Robert Coulson --- Reading git-diff-tree failed