diff options
author | Wei Ni <wni@nvidia.com> | 2013-11-15 09:40:38 (GMT) |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2013-11-15 09:40:38 (GMT) |
commit | 072de4969f431c5ab4cbbcd9cd5af6e960c665c2 (patch) | |
tree | 991559b32ea0d0f6e4b0e26a1d636c34035ecb52 /init | |
parent | e41fae2b1ed8c78283d73651cd65be0228c0dd1c (diff) | |
download | linux-072de4969f431c5ab4cbbcd9cd5af6e960c665c2.tar.xz |
hwmon: (lm90) Define status bits
Add bit defines for the status register. And add a function
lm90_is_tripped() which will read status register and return
tripped or not, then lm90_alert can call it directly, and in the
future the IRQ thread also can use it.
[JD: Adjusted to include all the new MAX6696 status flags.]
Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions