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

2020-05-13 Thread Dmitry Torokhov
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 Applied, thank you. -- Dmitry

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

2020-05-12 Thread Anson Huang
Gentle ping... > Subject: [PATCH] input: keyboard: imx_sc_key: Use > devm_add_action_or_reset() to handle all cleanups > > Use devm_add_action_or_reset() to handle all cleanups of failure in .probe > and .remove, then .remove callback can be dropped. > > Signe