summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/oprofile/microblaze_oprofile.c
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2020-07-22 12:06:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-29 17:12:08 +0200
commitbcd14bb7a68520bf88e45e91d354e43535624f82 (patch)
tree63ced271eee7e86525c996bd631cfa0310d82ca1 /arch/microblaze/oprofile/microblaze_oprofile.c
parentdrivers: android: Fix the SPDX comment style (diff)
downloadlinux-bcd14bb7a68520bf88e45e91d354e43535624f82.tar.xz
linux-bcd14bb7a68520bf88e45e91d354e43535624f82.zip
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 <yangtiezhu@loongson.cn> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20200722100705.7772-2-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/microblaze/oprofile/microblaze_oprofile.c')
0 files changed, 0 insertions, 0 deletions