lkml.org 
[lkml]   [2024]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/2] gpiolib: acpi: A couple of error checks amendmends
Date
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(-)

--
2.43.0.rc1.1336.g36b5255a03ac


\
 
 \ /
  Last update: 2024-05-27 16:33    [W:0.031 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site