iio: exynos-adc: fix irqf_oneshot.cocci warnings
authorValentin Rothberg <valentinrothberg@gmail.com>
Wed, 2 Dec 2015 08:43:10 +0000 (09:43 +0100)
committerOlof Johansson <olof@lixom.net>
Tue, 22 Dec 2015 05:08:55 +0000 (21:08 -0800)
commit86af47413a626f9804f48b354e290459660177ce
tree0c07c34ffea9d95f8ca0e4ef8fee15871c3613ef
parent11c7a6c5a3232e2ff1127d80d609daa95df5d5d4
iio: exynos-adc: fix irqf_oneshot.cocci warnings

Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests")
threaded IRQs without a primary handler need to be requested with
IRQF_ONESHOT, otherwise the request will fail.

So pass the IRQF_ONESHOT flag in this case.

Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/iio/adc/exynos_adc.c