mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
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: Fabio Baltieri <fabiobaltieri@google.com>