Input: sgi_btns - switch to using managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Oct 2019 00:04:10 +0000 (17:04 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Oct 2019 00:14:18 +0000 (17:14 -0700)
commit9e085dd069d5d868cca7ae92b610c678c170ac92
tree96ae6fc4bc6eaa45204490d141c3b5c2b6eef85a
parent5d96738d9a74ec774bc7408288b44a7db6321c47
Input: sgi_btns - switch to using managed resources

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

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