Some optimization for Spreadtrum hwlock controller
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | hwspinlock: sprd: Change to use devm_platform_ioremap_resource()drivers/ | +1 | 0 replies | |
| 2/4 | hwspinlock: sprd: Check the return value of clk_prepare_enable()drivers/ | +3 | 0 replies | |
| 3/4 | hwspinlock: sprd: Use devm_add_action_or_reset() for calls to clk_disable_unprepare()drivers/ | +15 | 0 replies | |
| 4/4 | hwspinlock: sprd: Use devm_hwspin_lock_register() to register hwlock controllerdrivers/ | +3 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Some optimization for Spreadtrum hwlock controller
This patch set did some optimization for Spreadtrum hwlock controller, including using some devm_xxx APIs to simplify code and validating the return value when enabling clock.
Baolin Wang (4):
hwspinlock: sprd: Change to use devm_platform_ioremap_resource()
hwspinlock: sprd: Check the return value of clk_prepare_enable()
hwspinlock: sprd: Use devm_add_action_or_reset() for calls to
clk_disable_unprepare()
hwspinlock: sprd: Use devm_hwspin_lock_register() to register hwlock
controller
drivers/hwspinlock/sprd_hwspinlock.c | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-)
Signature · 1 line
1.7.9.5