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)
commitc4be5e5a113d78490c426b1124fd458a9d807933
tree9ef3f6171d52c1e50e702b776105a5e9656c457c
parentab317169673dbdddba8b6132c53f6e5ce64726a3
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