summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-creg-snps.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-11-28 19:57:56 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-01-07 11:23:23 +0300
commit862523297778775a0543110dcbf2ca832782f675 (patch)
tree05da9411d57ea528cd6c6ee13993e389f56a2e8d /drivers/gpio/gpio-creg-snps.c
parentbfeffd155283772bbe78c6a05dec7c0128ee500c (diff)
downloadlinux-862523297778775a0543110dcbf2ca832782f675.tar.xz
gpiolib-acpi: Remove unnecessary WARN_ON from acpi_gpiochip_free_interrupts
acpi_gpiochip_alloc_event only continues allocating an event and adding it to the list if gpiochip_request_own_desc does not return an error. So events with an error desc are never placed on the events list and this check is really not necessary. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-creg-snps.c')
0 files changed, 0 insertions, 0 deletions