summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer
diff options
context:
space:
mode:
authorOctavian Purdila <octavian.purdila@intel.com>2015-09-23 12:02:00 +0300
committerJonathan Cameron <jic23@kernel.org>2015-10-03 11:02:37 +0100
commit6839c1b0700a79375639528985a0ec0fbd58cf9a (patch)
tree20c57a55143274a9a8886d73cd7ae2c705f2e3be /drivers/iio/magnetometer
parent1de953e77b8c8b8cb6f734733cf20e95a1b0fbb8 (diff)
downloadop-kernel-dev-6839c1b0700a79375639528985a0ec0fbd58cf9a.zip
op-kernel-dev-6839c1b0700a79375639528985a0ec0fbd58cf9a.tar.gz
iio: fix drivers that use 0 as a valid IRQ in client->irq (part 2)
Since commit dab472eb931bc291 ("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>
Diffstat (limited to 'drivers/iio/magnetometer')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud