mbox series

[0/3] Optimize the u8500_hsem hwlock driver

Message ID cover.1569572448.git.baolin.wang@linaro.org
Headers show
Series Optimize the u8500_hsem hwlock driver | expand

Message

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

-- 
1.7.9.5

Comments

Bjorn Andersson Oct. 5, 2019, 4:01 a.m. UTC | #1
On Fri 27 Sep 01:27 PDT 2019, Baolin Wang wrote:

> This patch set did some Optimization with changing to use devm_xxx()

> APIs to simplify the code and make code more readable.

> 


Applied, with Linus' r-b

Thanks,
Bjorn

> 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(-)

> 

> -- 

> 1.7.9.5

>