Skip to content
Commit 98f7d1b1 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Bartosz Golaszewski
Browse files

gpio: bcm-kona: Fix return value of bcm_kona_gpio_probe()



Propagate the error code returned by devm_platform_ioremap_resource()
out of probe() instead of overwriting it.

Fixes: 72d8cb71 ("drivers: gpio: bcm-kona: use devm_platform_ioremap_resource()")
Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
[Bartosz: tweaked the commit message]
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent 558ab2e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment