]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: xgene-sb: Drop extra check to call acpi_gpiochip_request_interrupts()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 12 May 2020 18:27:21 +0000 (21:27 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 May 2020 07:16:31 +0000 (09:16 +0200)
commitd8c45325828c0df3fe2dd1af0b4be39945e70fb6
tree872ec1a5c8d50d68bf577a6a4428a4105d9cf7a5
parent056885dd66d42b302322bb92032e46b4d6e4ea66
gpio: xgene-sb: Drop extra check to call acpi_gpiochip_request_interrupts()

There is no need to have an additional check to call
acpi_gpiochip_request_interrupts(). Even without any interrupts available
the registered ACPI Event handlers can be useful for debugging purposes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200512182721.55127-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-xgene-sb.c