Thread (11 messages) 11 messages, 2 authors, 2020-11-19

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

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2020-11-19 07:11:03
Also in: lkml

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 <redacted>
Applied, thank you.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help