Re: [PATCH 1/3] hwspinlock: u8500_hsem: Change to use devm_platform_ioremap_resource()

2019-10-04 Thread Linus Walleij
On Fri, Sep 27, 2019 at 10:28 AM Baolin Wang wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together, which can simpify the code. > > Signed-off-by: Baolin Wang Reviewed-by: Linus Walleij Yours, Linus Walleij

[PATCH 1/3] hwspinlock: u8500_hsem: Change to use devm_platform_ioremap_resource()

2019-09-27 Thread Baolin Wang
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together, which can simpify the code. Signed-off-by: Baolin Wang --- drivers/hwspinlock/u8500_hsem.c | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git