kernel_optimize_test/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
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
qcom_hwspinlock.c
sirf_hwspinlock.c
sprd_hwspinlock.c
stm32_hwspinlock.c hwspinlock: fix return value check in stm32_hwspinlock_probe() 2019-01-03 11:42:10 -08:00
u8500_hsem.c