mbox series

[v1,0/2] gpiolib: acpi: A couple of error checks amendmends

Message ID 20240410202243.1658129-1-andriy.shevchenko@linux.intel.com
Headers show
Series gpiolib: acpi: A couple of error checks amendmends | expand

Message

Andy Shevchenko April 10, 2024, 8:21 p.m. UTC
One error check is moved and one is dropped.
No functional changes intended.

Andy Shevchenko (2):
  gpiolib: acpi: Remove never true check in acpi_get_gpiod_by_index()
  gpiolib: acpi: Check for errors first in acpi_find_gpio()

 drivers/gpio/gpiolib-acpi.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)