aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwspinlock/sirf_hwspinlock.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang7@gmail.com>2020-01-08 11:14:00 +0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-01-21 16:11:25 -0800
commit42f291ebfdd83a5bf04254f6bdc169f6e5a4152b (patch)
treec816c0923921502807bb86c43db145bd6c6fba60 /drivers/hwspinlock/sirf_hwspinlock.c
parenthwspinlock: omap: Change to use devm_platform_ioremap_resource() (diff)
downloadlinux-dev-42f291ebfdd83a5bf04254f6bdc169f6e5a4152b.tar.xz
linux-dev-42f291ebfdd83a5bf04254f6bdc169f6e5a4152b.zip
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>
Diffstat (limited to 'drivers/hwspinlock/sirf_hwspinlock.c')
0 files changed, 0 insertions, 0 deletions