]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ep93xx_keypad - switch to using managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Oct 2021 02:36:25 +0000 (19:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 16 Oct 2021 01:29:43 +0000 (18:29 -0700)
commite51ca339856ca3dc2dfd7d3d5b91116b6dfbbf4f
tree9ef3f6171d52c1e50e702b776105a5e9656c457c
parentdc224d8bd4bb6a69bbb64ad096fc14dfffbc0ba2
Input: ep93xx_keypad - switch to using managed resources

By using managed resources (devm) we are able to streamline error handling
in probe and remove most of the custom remove method.

Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/YWZGKWgdarGtvtYA@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/ep93xx_keypad.c