]> git.baikalelectronics.ru Git - kernel.git/commit
Input: rb532_button - switch to using managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Oct 2019 00:04:25 +0000 (17:04 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Oct 2019 00:15:27 +0000 (17:15 -0700)
commit2bf5861aff8e2843a68c95b054d18bf16432e13d
tree3d9fadf7da9e53dbaf5a5fc817146c2b8194f45e
parent1c8058d36cbfdc3973bb39e05af87f94a9d632e6
Input: rb532_button - switch to using managed resources

Using devm API allows us to clean up error handling paths and drop the
remove() method.

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