]> git.karo-electronics.de Git - linux-beck.git/commit
staging:iio:lis3l02dq: Do not return error code in interrupt handler
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 4 Jul 2012 16:09:00 +0000 (17:09 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 8 Jul 2012 19:02:29 +0000 (20:02 +0100)
commit0b30246ef17c2e37819068aec3d5eac4ac06b562
treeb48a491b81e60e607f7114f240c9d993d394f29e
parentda0f01e1ed88b4ac650d884e4e2ee11c9cd4d83b
staging:iio:lis3l02dq: Do not return error code in interrupt handler

The interrupt handler should only ever return one of the three irqreturn_t
constants and not an error code. Also make sure to always call
iio_trigger_notify_done before leaving the trigger handler.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/lis3l02dq_ring.c