diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-04-30 15:15:47 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-07 10:42:32 +0100 |
commit | d2bc431868a1c3172bb8fa3187a90fa806bba484 (patch) | |
tree | 15da3d0073ac1054623a9ca29510eabaaf3fb4b2 /drivers/iio/imu | |
parent | 3337c9ff17948e1879fb06ea722baa9519533e0f (diff) | |
download | blackbird-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