# 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 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2020/05/5964352
- Thread: https://ratatoskr.run/linux-input/2020/03/5894008/t.md

```text
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
```
