commit | c6bfb767e431d3a236eab439d3660ff562598c84 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Sat Jul 09 12:06:45 2011 -0700 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Thu Jul 28 17:02:40 2011 -0700 |
tree | 069f5ce348f55a0eea1e58c224a51760e323a135 | |
parent | 9c1ed8941d30fd6252e84a9941e6507e497d242b [diff] |
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 <guenter.roeck@ericsson.com> Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>