diff options
author | Tiezhu Yang <[email protected]> | 2020-07-22 11:06:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-29 17:12:08 +0200 |
commit | bcd14bb7a68520bf88e45e91d354e43535624f82 (patch) | |
tree | 63ced271eee7e86525c996bd631cfa0310d82ca1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7e84522cd089c6ef3e6adc7f1c9a5b2f705ccd9b (diff) |
nvmem: sprd: Fix return value of sprd_efuse_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: 096030e7f449 ("nvmem: sprd: Add Spreadtrum SoCs eFuse support")
Signed-off-by: Tiezhu Yang <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions