Commit d460e9c2 authored by Su Hui's avatar Su Hui Committed by Bartosz Golaszewski
Browse files

gpio: mlxbf3: add an error code check in mlxbf3_gpio_probe



Clang static checker warning: Value stored to 'ret' is never read.
bgpio_init() returns error code if failed, it's better to add this
check.

Fixes: cd33f216 ("gpio: mlxbf3: Add gpio driver support")
Signed-off-by: default avatarSu Hui <suhui@nfschina.com>
[Bartosz: add the Fixes: tag]
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 314c020c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment