On Thu, 31 Oct 2013 11:07:41 +0800, Wei Ni wrote: > 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. > > Signed-off-by: Wei Ni <wni@xxxxxxxxxx> > --- > drivers/hwmon/lm90.c | 75 ++++++++++++++++++++++++++++++++++---------------- > 1 file changed, 51 insertions(+), 24 deletions(-) > (...) Looks good now. Applied, thanks. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html