gpio: Fix gpio_manage_callback() logic
gpio_manage_callback() returns -EINVAL if it could not remove
callback. However if the list is empty success is returned when trying
to remove callback.
Signed-off-by:
Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Loading
Please sign in to comment