Skip to content
Commit 5e9de122 authored by Henrik Brix Andersen's avatar Henrik Brix Andersen Committed by Anas Nashif
Browse files

drivers: gpio: pca95xx: check gpio_add_callback() return value



Check the return value from gpio_add_callback() and fail driver
initialization if non-zero.

Fixes: #58584

Signed-off-by: default avatarHenrik Brix Andersen <hebad@vestas.com>
parent bfa0a872
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment