Bartosz Golaszewski ead6852245 gpio: fix resource unwinding order in error path
[ Upstream commit ec5c54a9d3c4f9c15e647b049fea401ee5258696 ]

Hogs are added *after* ACPI so should be removed *before* in error path.

Fixes: a411e81e61df ("gpiolib: add hogs support for machine code")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-06 14:38:50 +00:00
..
2020-07-20 15:34:59 +02:00
2021-04-14 10:19:22 +01:00
2021-05-05 16:07:41 +02:00
2021-09-07 12:27:27 -07:00
2023-08-03 10:22:26 +02:00
2021-09-07 12:27:27 -07:00
2021-08-29 21:19:50 +02:00
2021-12-29 12:28:43 +01:00