Input: tca6416-keypad - convert to use devm_* api
authorYangtao Li <frank.li@vivo.com>
Mon, 24 Jul 2023 05:30:21 +0000 (22:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 29 Jul 2023 01:04:14 +0000 (18:04 -0700)
commit91a4c69052bb660bc818878309d8a777e635a144
tree9e8195f4d6b5dd57190e49147ae6e4c6e5063e93
parentcc141c35af873c6796e043adcb820833bd8ef8c5
Input: tca6416-keypad - convert to use devm_* api

Use devm_* api to simplify code, this makes it unnecessary to explicitly
release resources.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Link: https://lore.kernel.org/r/20230724053024.352054-4-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tca6416-keypad.c