OpenCloudOS-Kernel/drivers/hwspinlock
Baolin Wang 42f291ebfd hwspinlock: omap: Use devm_kzalloc() to allocate memory
Use devm_kzalloc() to allocate memory, which can simplify the error
handling.

Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Link: https://lore.kernel.org/r/c066ad704c1a5fd52c3002cac80ddd59b3901b01.1578453062.git.baolin.wang7@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-01-21 16:11:25 -08:00
..
Kconfig hwspinlock/omap: Add support for TI K3 SoCs 2019-06-29 11:40:04 -07:00
Makefile hwspinlock: add STM32 hwspinlock device 2018-12-05 12:45:21 -08:00
hwspinlock_core.c hwspinlock: Let the PM runtime can be optional 2019-11-08 16:42:00 -08:00
hwspinlock_internal.h hwspinlock/core: Switch to SPDX license identifier 2018-05-24 12:04:32 -07:00
omap_hwspinlock.c hwspinlock: omap: Use devm_kzalloc() to allocate memory 2020-01-21 16:11:25 -08:00
qcom_hwspinlock.c hwspinlock: qcom: Use devm_hwspin_lock_register() to register hwlock controller 2020-01-21 16:10:07 -08:00
sirf_hwspinlock.c hwspinlock updates for v4.18 2018-06-11 12:09:19 -07:00
sprd_hwspinlock.c hwspinlock: sprd: Remove redundant PM runtime implementation 2019-11-08 16:42:11 -08:00
stm32_hwspinlock.c hwspinlock: stm32: convert to devm_platform_ioremap_resource 2019-12-28 20:43:23 -08:00
u8500_hsem.c hwspinlock: u8500_hsem: Remove redundant PM runtime implementation 2019-11-08 16:42:26 -08:00