From: Wei Ni Date: Fri, 15 Nov 2013 09:40:38 +0000 (+0100) Subject: hwmon: (lm90) Define status bits X-Git-Tag: v3.13-rc1~67^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=072de4969f431c5ab4cbbcd9cd5af6e960c665c2;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare --- Reading git-diff-tree failed