Input: mcs-touchkey - convert to use devm_* api
authorYangtao Li <frank.li@vivo.com>
Thu, 20 Jul 2023 22:41:20 +0000 (15:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 20 Jul 2023 23:52:49 +0000 (16:52 -0700)
commite175eae16c1bf92062f1f431a95f476a61a77c48
treebbda6893ba5585bf33de2016163a4c960d7f2bf4
parentcaddca33a0177f452312f1644822bc98384ba58a
Input: mcs-touchkey - convert to use devm_* api

Use devm_* api to simplify code, this makes it unnecessary to explicitly
release resources.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Link: https://lore.kernel.org/r/20230714080611.81302-3-frank.li@vivo.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/mcs_touchkey.c