aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorTiezhu Yang <[email protected]>2020-05-25 09:59:01 +0800
committerDaniel Lezcano <[email protected]>2020-06-29 12:14:07 +0200
commitb4147917ad4ff2c755e01a7ca296b14030d2d507 (patch)
tree153764ca0577629f6575bd35f1bc5113fb4198a5 /lib/test-string_helpers.c
parent14533a5a6c12e8d7de79d309d4085bf186058fe1 (diff)
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 <[email protected]> Reviewed-by: Baolin Wang <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions