diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2020-05-22 07:12:18 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-05-25 12:17:18 +0300 |
commit | 98f7d1b15e87c84488b30ecc4ec753b0690b9dbf (patch) | |
tree | 6a6aa17d51f74d91a513abd473d7c73b80b5b0c4 /arch/h8300 | |
parent | 558ab2e8155e5f42ca0a6407957cd4173dc166cc (diff) | |
download | linux-98f7d1b15e87c84488b30ecc4ec753b0690b9dbf.tar.xz |
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: 72d8cb715477 ("drivers: gpio: bcm-kona: use devm_platform_ioremap_resource()")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
[Bartosz: tweaked the commit message]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions