diff options
| author | Tiezhu Yang <[email protected]> | 2020-05-22 12:12:19 +0800 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2020-05-25 11:14:36 +0200 |
| commit | 558ab2e8155e5f42ca0a6407957cd4173dc166cc (patch) | |
| tree | 38caa4c44ef4119e3808681aaa4be515ab67214f /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | e6862430fa5ef557d40c221c7f9bb3beb5feaca4 (diff) | |
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 <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions