gpiolib: acpi: Add missing IRQF_ONESHOT
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 23 Feb 2021 08:35:58 +0000 (16:35 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 8 Mar 2021 10:59:17 +0000 (11:59 +0100)
commit6e5d5791730b55a1f987e1db84b078b91eb49e99
treed84a7bcf3957d90f2070bbba0adf2a8a6ca518e2
parentcf25ef6b631c6fc6c0435fc91eba8734cca20511
gpiolib: acpi: Add missing IRQF_ONESHOT

fixed the following coccicheck:
./drivers/gpio/gpiolib-acpi.c:176:7-27: ERROR: Threaded IRQ with no
primary handler requested without IRQF_ONESHOT

Make sure threaded IRQs without a primary handler are always request
with IRQF_ONESHOT

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpiolib-acpi.c