Re: [PATCH v2 5/5] Input: adp5589: use devm_add_action_or_reset() for register clear

From: Dmitry Torokhov
Date: Thu Nov 19 2020 - 02:10:49 EST


On Thu, Nov 12, 2020 at 09:43:08AM +0200, Alexandru Ardelean wrote:
> The driver clears the general configuration register during the remove()
> hook. This should also be done in case the driver exits on error.
>
> This change move the clear of that register to the
> devm_add_action_or_reset() hook.
>
> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx>

Applied, thank you.

--
Dmitry