linux/drivers/iio/accel
Octavian Purdila 6839c1b070 iio: fix drivers that use 0 as a valid IRQ in client->irq (part 2)
Since commit dab472eb93 ("i2c / ACPI: Use 0 to indicate that
device does not have interrupt assigned") 0 is not a valid i2c
client irq anymore, so change all driver's checks accordingly.

The same issue occurs when the device is instantiated via device tree
with no IRQ, or from the i2c sysfs interface, even before the patch
above.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-10-03 11:02:37 +01:00
..
bma180.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
bmc150-accel.c Second set of new device support, features and cleanup for the 4.3 cycle. 2015-08-12 12:43:41 -07:00
hid-sensor-accel-3d.c iio: accel: hid-sensor-accel-3d: Fix memory leak in probe() 2015-05-17 09:09:05 +01:00
Kconfig iio: mma8452: add support for MMA8652FC and MMA8653FC 2015-09-23 20:23:22 +01:00
kxcjk-1013.c iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
kxsd9.c iio:accel:kxsd9 fix missing mutex unlock 2013-11-17 15:22:00 +00:00
Makefile iio: accel: add support for mxc4005 accelerometer 2015-08-31 17:32:05 +01:00
mma8452.c iio: mma8452: leave sysfs namings to the iio core 2015-09-23 20:23:23 +01:00
mma9551_core.c iio: accel: mma9553: fix alignment issues 2015-06-14 16:00:54 +01:00
mma9551_core.h iio: accel: mma9553: fix alignment issues 2015-06-14 16:00:54 +01:00
mma9551.c iio: accel: mma9551: Check gpiod_to_irq return value 2015-03-09 13:27:49 +00:00
mma9553.c iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
mxc4005.c iio: mxc4005: add data ready trigger for mxc4005 2015-08-31 17:58:49 +01:00
ssp_accel_sensor.c iio: common: ssp_sensors: Add sensorhub accelerometer sensor 2015-01-29 18:49:56 +00:00
st_accel_buffer.c iio:st_accel: Drop redundant call to iio_sw_buffer_preenable() 2013-10-16 19:11:11 +01:00
st_accel_core.c iio: st_sensors: add debugfs register read hook 2015-08-16 10:51:25 +01:00
st_accel_i2c.c iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
st_accel_spi.c iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
st_accel.h iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
stk8ba50.c iio: fix drivers that use 0 as a valid IRQ in client->irq (part 2) 2015-10-03 11:02:37 +01:00
stk8312.c iio: fix drivers that use 0 as a valid IRQ in client->irq (part 2) 2015-10-03 11:02:37 +01:00