diff options
| author | 2020-05-22 12:12:19 +0800 | |
|---|---|---|
| committer | 2020-05-25 11:14:36 +0200 | |
| commit | 558ab2e8155e5f42ca0a6407957cd4173dc166cc (patch) | |
| tree | 38caa4c44ef4119e3808681aaa4be515ab67214f /lib/mpi | |
| parent | gpio: mlxbf2: Fix sleeping while holding spinlock (diff) | |
| download | linux-dev-558ab2e8155e5f42ca0a6407957cd4173dc166cc.tar.xz linux-dev-558ab2e8155e5f42ca0a6407957cd4173dc166cc.zip | |
gpio: pxa: Fix return value of pxa_gpio_probe()
When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value and return PTR_ERR() if failed.
Fixes: 542c25b7a209 ("drivers: gpio: pxa: use devm_platform_ioremap_resource()")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions
