linux_dsm_epyc7002/drivers/hwspinlock
Wei Yongjun 4d5a91fd1f hwspinlock: fix return value check in stm32_hwspinlock_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: f24fcff1d2 ("hwspinlock: add STM32 hwspinlock device")
Acked-by: Benjamin Gaignard <benjamin.gaignard@gmail.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-01-03 11:42:10 -08:00
..
hwspinlock_core.c hwspinlock: Fix incorrect return pointers 2018-07-30 20:54:51 -07:00
hwspinlock_internal.h hwspinlock/core: Switch to SPDX license identifier 2018-05-24 12:04:32 -07:00
Kconfig hwspinlock: add STM32 hwspinlock device 2018-12-05 12:45:21 -08:00
Makefile hwspinlock: add STM32 hwspinlock device 2018-12-05 12:45:21 -08:00
omap_hwspinlock.c hwspinlock updates for v4.18 2018-06-11 12:09:19 -07:00
qcom_hwspinlock.c hwspinlock: qcom: Switch to SPDX license identifier 2018-05-24 12:04:46 -07:00
sirf_hwspinlock.c hwspinlock updates for v4.18 2018-06-11 12:09:19 -07:00
sprd_hwspinlock.c hwspinlock: sprd: Switch to SPDX license identifier 2018-05-24 12:04:48 -07:00
stm32_hwspinlock.c hwspinlock: fix return value check in stm32_hwspinlock_probe() 2019-01-03 11:42:10 -08:00
u8500_hsem.c hwspinlock updates for v4.18 2018-06-11 12:09:19 -07:00