diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-05-12 21:26:23 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-05-18 09:15:16 +0200 |
commit | db67aa33d58d1497c1e025c7dc34de95e83de529 (patch) | |
tree | 5938446bfe08f5421bb2a04602ad6bd875cd9b2c /Documentation/timers | |
parent | 672de5274446fd41167953528da3426805652c1a (diff) | |
download | linux-stable-db67aa33d58d1497c1e025c7dc34de95e83de529.tar.gz linux-stable-db67aa33d58d1497c1e025c7dc34de95e83de529.tar.bz2 linux-stable-db67aa33d58d1497c1e025c7dc34de95e83de529.zip |
gpio: mb86s7x: Remove superfluous test for ACPI companion
acpi_gpiochip_request_interrupts() will check for ACPI handle of
the GPIO chip parent device and bail out if there is none defined.
Thus, has_acpi_companion() is effectively repeating above and
is not needed in the individual driver.
Assigning ->to_irq() unconditionally doesn't change anything, except
an error code, but this we fix as well by propagating it from
platform_get_irq().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200512182623.54990-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/timers')
0 files changed, 0 insertions, 0 deletions