diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-05-13 10:15:49 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-05-13 10:34:58 -0700 |
commit | 768062fd1284529212daffd360314e9aa93abb62 (patch) | |
tree | 624d11dd3b29d23e6bc4156d102806f7727b6d2b /Documentation | |
parent | 2ecf9487a7c86e033bab007d63d61f2ec2ca093f (diff) | |
download | linux-768062fd1284529212daffd360314e9aa93abb62.tar.gz |
Input: 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.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Link: https://lore.kernel.org/r/1584082751-17047-1-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions