Andy Shevchenko 479ac41920 gpiolib: acpi: Add missing memset(0) to acpi_get_gpiod_from_data()
When refactoring the acpi_get_gpiod_from_data() the change missed
cleaning up the variable on stack. Add missing memset().

Reported-by: Ferry Toth <ftoth@exalondelft.nl>
Fixes: 16ba046e86e9 ("gpiolib: acpi: teach acpi_find_gpio() to handle data-only nodes")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2023-10-20 11:24:16 +02:00
..
2021-04-14 10:19:22 +01:00
2021-05-05 16:07:41 +02:00
2022-10-26 14:52:01 +02:00
2022-10-08 09:46:29 -07:00
2023-07-20 14:38:36 +02:00
2023-08-21 10:39:58 +02:00
2022-06-21 18:01:11 +03:00
2023-03-06 12:33:02 +02:00
2022-01-14 18:50:52 -05:00
2023-08-29 10:21:56 -07:00
2019-12-09 10:40:18 +01:00
2023-03-06 12:33:02 +02:00
2023-08-29 10:21:56 -07:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2022-10-24 12:30:26 +03:00
2023-08-29 10:21:56 -07:00