diff options
| author | Tiezhu Yang <[email protected]> | 2020-05-25 01:59:01 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2020-06-29 10:14:07 +0000 |
| commit | b4147917ad4ff2c755e01a7ca296b14030d2d507 (patch) | |
| tree | 153764ca0577629f6575bd35f1bc5113fb4198a5 /tools/perf/scripts/python/flamegraph.py | |
| parent | thermal/drivers/mediatek: Fix bank number settings on mt8183 (diff) | |
| download | kernel-b4147917ad4ff2c755e01a7ca296b14030d2d507.tar.gz kernel-b4147917ad4ff2c755e01a7ca296b14030d2d507.zip | |
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 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
