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