mbox series

[0/4] Some optimization for Spreadtrum hwlock controller

Message ID cover.1569567749.git.baolin.wang@linaro.org (mailing list archive)
Headers show
Series Some optimization for Spreadtrum hwlock controller | expand

Message

(Exiting) Baolin Wang Sept. 27, 2019, 7:10 a.m. UTC
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(-)