Input: dm355evm_keys - switch to using managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 8 Mar 2017 17:36:23 +0000 (09:36 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 9 Mar 2017 18:06:19 +0000 (10:06 -0800)
commit52e4f1d601daaee0bad6b22765befc21b180d701
tree93f0701cd11f6e7892841cad59f02deeb5632e89
parentfc2a6e5048c6812253590b8ae26eed3236b25eac
Input: dm355evm_keys - switch to using managed resources

Using devm_* APIs simpifies error handling and device teardown.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/dm355evm_keys.c