Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpio: fix resource unwinding order in error path
Hogs are added *after* ACPI so should be removed *before* in error path. Fixes: a411e81 ("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>
- Loading branch information