hwmon: (lm90) Add SMBus alert support
authorJean Delvare <khali@linux-fr.org>
Fri, 5 Mar 2010 21:17:15 +0000 (22:17 +0100)
committerJean Delvare <khali@linux-fr.org>
Fri, 5 Mar 2010 21:17:15 +0000 (22:17 +0100)
commit53de33427fa3d7dd62cc5ec75ce0d4e6c6d602dd
tree82a1fd88a2d132b534fe3df3e2ea536c1b5099ae
parent95238364167edaf93ce2890e5f55326b63194851
hwmon: (lm90) Add SMBus alert support

Tested successfully with an ADM1032 chip on its evaluation board. It
should work fine with all other chips as well.

At this point this is more of a proof-of-concept, we don't do anything
terribly useful on SMBus alert: we simply log the event. But this could
later evolve into libsensors signaling so that user-space applications
can take an appropriate action.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Trent Piepho <tpiepho@freescale.com>
Documentation/hwmon/lm90
drivers/hwmon/lm90.c