diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-07-09 12:06:45 -0700 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-07-28 17:02:40 -0700 |
commit | c6bfb767e431d3a236eab439d3660ff562598c84 (patch) | |
tree | 069f5ce348f55a0eea1e58c224a51760e323a135 /block/blk-lib.c | |
parent | 9c1ed8941d30fd6252e84a9941e6507e497d242b (diff) | |
download | linux-c6bfb767e431d3a236eab439d3660ff562598c84.tar.bz2 |
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>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions