iio: st_sensors: print error when failing to get IRQ
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Apr 2015 13:15:46 +0000 (15:15 +0200)
committerJonathan Cameron <jic23@kernel.org>
Thu, 7 May 2015 09:42:32 +0000 (10:42 +0100)
commit3337c9ff17948e1879fb06ea722baa9519533e0f
tree548c72187dcbe0bcf53d2181414512aea0b9e9b2
parente693e15e869fb314c86770c1f1451fdd013654c0
iio: st_sensors: print error when failing to get IRQ

Print a proper error message if we're missing the trigger
IRQ.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/st_sensors/st_sensors_trigger.c