Input: cobalt_btns - convert to use managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Oct 2019 00:03:54 +0000 (17:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Oct 2019 00:14:16 +0000 (17:14 -0700)
commit4d69ca90de6ad611d74571ebd18d6bf86a9e1218
tree3abd43dc41ae8feb77e6a6952b428cac02fb2dc9
parent4a767ec368bf4b743ce466394096c528eb4abecb
Input: cobalt_btns - convert to use managed resources

This simplifies error handling and allows to remove cobalt_buttons_remove()
method.

Link: https://lore.kernel.org/r/20191017204217.106453-12-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/cobalt_btns.c