linux/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
..
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
hwspinlock_core.c hwspinlock: Fix incorrect return pointers 2018-07-30 20:54:51 -07:00
hwspinlock_internal.h
omap_hwspinlock.c hwspinlock updates for v4.18 2018-06-11 12:09:19 -07:00
qcom_hwspinlock.c
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