Skip to content
Commit a657abae authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Fabio Baltieri
Browse files

espi: Fix gpio_manage_callback() logic



espi_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: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
parent 005a4d8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment