Files
linux/drivers
Andy Shevchenko 8ae438f5ff gpiolib: Deduplicate cleanup for-loop in gpiochip_add_data_with_key()
There is no need to repeat for-loop twice in the error path in
gpiochip_add_data_with_key(). Deduplicate it. While at it,
rename loop variable to be more specific and avoid ambguity.

It also properly unwinds the SRCU, i.e. in reversed order of allocating.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2024-03-05 19:24:58 +01:00
..
2024-02-06 14:10:47 +08:00
2023-12-15 17:07:05 +01:00
2024-02-05 16:16:24 +01:00
2024-01-05 15:55:41 +05:30
2024-02-27 12:52:51 +00:00
2023-12-15 17:27:04 +01:00
2024-01-04 17:03:47 +01:00
2024-01-12 12:38:37 +01:00