commit | f35b1d6c21b414e960ae3a9f1164fc691e1c3ab2 | [log] [tgz] |
---|---|---|
author | Tiezhu Yang <yangtiezhu@loongson.cn> | Mon May 25 15:11:45 2020 +0800 |
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | Mon Jun 01 15:15:23 2020 +0200 |
tree | 5363a860b4c195504d3b3c49a314b5686005ee0e | |
parent | 499a2c41b954518c372873202d5e7714e22010c4 [diff] |
video: fbdev: pxafb: Use correct return value for pxafb_probe() When call function devm_platform_ioremap_resource(), we should use IS_ERR() to check the return value and return PTR_ERR() if failed. Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Cc: Xuefeng Li <lixuefeng@loongson.cn> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/1590390705-22898-1-git-send-email-yangtiezhu@loongson.cn