Skip to content

Optimize the u8500_hsem hwlock driver

Baolin Wang linux-arm-kernel linux-remoteproc lkml 1 version Applied

Status from this message: Applied, with Linus' r-b

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3hwspinlock: u8500_hsem: Change to use devm_platform_ioremap_resource()drivers/hwspinlock/u8500_hsem.c+5 -151 reply
2/3hwspinlock: u8500_hsem: Use devm_kzalloc() to allocate memorydrivers/hwspinlock/u8500_hsem.c+6 -91 reply
3/3hwspinlock: u8500_hsem: Use devm_hwspin_lock_register() to register hwlock controllerdrivers/hwspinlock/u8500_hsem.c+2 -91 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchLinus Walleij
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Optimize the u8500_hsem hwlock driver

This patch set did some Optimization with changing to use devm_xxx() APIs to simplify the code and make code more readable.

Baolin Wang (3):
hwspinlock: u8500_hsem: Change to use
devm_platform_ioremap_resource()
hwspinlock: u8500_hsem: Use devm_kzalloc() to allocate memory
hwspinlock: u8500_hsem: Use devm_hwspin_lock_register() to register
hwlock controller

 drivers/hwspinlock/u8500_hsem.c |   46 +++++++++++----------------------------
 1 file changed, 13 insertions(+), 33 deletions(-)
Signature · 1 line
1.7.9.5