summaryrefslogtreecommitdiffstats
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2011-07-09 12:06:45 -0700
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-07-28 17:02:40 -0700
commitc6bfb767e431d3a236eab439d3660ff562598c84 (patch)
tree069f5ce348f55a0eea1e58c224a51760e323a135 /block/blk-lib.c
parent9c1ed8941d30fd6252e84a9941e6507e497d242b (diff)
downloadlinux-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