]> 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)
commit63afa3a158b1feb95499ca33291f4fdae90c5965
tree3d9fadf7da9e53dbaf5a5fc817146c2b8194f45e
parent1205c13751f80acad382fe2d44a8224d57c6135a
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