]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: lis3: Cleanup interrupt handling
authorSamu Onkalo <samu.p.onkalo@nokia.com>
Fri, 22 Oct 2010 11:57:25 +0000 (07:57 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 25 Oct 2010 21:11:38 +0000 (14:11 -0700)
commitd61f0f9ec7d1773f8f429a88dcb4ac2fa61d0489
tree4c2355531dad72055f3d8d1e704947d0210fd32a
parent37c0ef63954fcd0edf8af52379a96e2376cfde6c
hwmon: lis3: Cleanup interrupt handling

Irqcfg moved to chip data instead of platform data.
This simplifies access in interrupt handler little bit.

Input device open and close functions set status for
interrupt threaded handler once.

Unnecessary check for interrupt source removed since
it is enough that active interrupt line indicates that
there was an interrupt.

Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Acked-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/lis3lv02d.c
drivers/hwmon/lis3lv02d.h