On Fri, 10 Nov 2017, Sébastien Szymanski wrote:
> When everything goes smoothly, ret is set to 0 which makes the function
> to return EIO error.
>
> Fixes: 8e9faa15469e ("HID: cp2112: fix gpio-callback error handling")
> Signed-off-by: Sébastien Szymanski <[email protected]>
> ---
> Changes in v2:
> - rework error handling to have only one exit path as suggested by
> Benjamin Tissoires <[email protected]>Applied to for-4.15/upstream. -- Jiri Kosina SUSE Labs

