Re: [PATCH] input: keyboard: imx_sc_key: Use devm_add_action_or_reset() to handle all cleanups

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2020-05-13 17:19:36
Also in
linux-arm-kernel, lkml
Reply to
Anson Huang, 2020-03-13
On Fri, Mar 13, 2020 at 02:59:11PM +0800, Anson Huang wrote:
Use devm_add_action_or_reset() to handle all cleanups of failure in
.probe and .remove, then .remove callback can be dropped.

Signed-off-by: Anson Huang <redacted>
Applied, thank you.

-- 
Dmitry
Thread (3 messages) 3 messages, 2 authors, last reply 2020-05-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help