summaryrefslogtreecommitdiff
path: root/sound/soc/xtensa
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2020-05-25 04:59:01 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-06-29 13:14:07 +0300
commitb4147917ad4ff2c755e01a7ca296b14030d2d507 (patch)
tree153764ca0577629f6575bd35f1bc5113fb4198a5 /sound/soc/xtensa
parent14533a5a6c12e8d7de79d309d4085bf186058fe1 (diff)
downloadlinux-b4147917ad4ff2c755e01a7ca296b14030d2d507.tar.xz
thermal/drivers/sprd: Fix return value of sprd_thm_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: 554fdbaf19b1 ("thermal: sprd: Add Spreadtrum thermal driver support") Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Reviewed-by: Baolin Wang <baolin.wang7@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/1590371941-25430-1-git-send-email-yangtiezhu@loongson.cn
Diffstat (limited to 'sound/soc/xtensa')
0 files changed, 0 insertions, 0 deletions