Re: [PATCH 3/3] hwspinlock: u8500_hsem: Use devm_hwspin_lock_register() to register hwlock controller

From: Linus Walleij
Date: Fri Oct 04 2019 - 17:38:27 EST


On Fri, Sep 27, 2019 at 10:28 AM Baolin Wang <baolin.wang@xxxxxxxxxx> wrote:

> Use devm_hwspin_lock_register() to register the hwlock controller instead of
> unregistering the hwlock controller explicitly when removing the device.
>
> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij