summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-04-30 15:15:47 +0200
committerJonathan Cameron <jic23@kernel.org>2015-05-07 10:42:32 +0100
commitd2bc431868a1c3172bb8fa3187a90fa806bba484 (patch)
tree15da3d0073ac1054623a9ca29510eabaaf3fb4b2 /drivers/iio/imu
parent3337c9ff17948e1879fb06ea722baa9519533e0f (diff)
downloadblackbird-op-linux-d2bc431868a1c3172bb8fa3187a90fa806bba484.tar.gz
blackbird-op-linux-d2bc431868a1c3172bb8fa3187a90fa806bba484.zip
iio: st_sensors: make interrupt optional
Some sensors such as magnetometers and pressure sensors doesn't have interrupts at all, and thus no DRDY setting applies. Make the assignment of an interrupt optional, and do not call st_sensors_set_drdy_int_pin() if there is no drdy (data ready) pin specified. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/imu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud