Skip to content
Commit cda5b175 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Anas Nashif
Browse files

input: check for gpio_add_callback error codes.



Add two error code check for gpio_add_callback functions to avoid
triggering a coverity warning.

Drop a redundant initialization in the process.

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 50e35fad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment