Input: cy8ctmg110_ts - switch to using managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 6 Jun 2021 00:05:43 +0000 (17:05 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 6 Jun 2021 03:34:14 +0000 (20:34 -0700)
commit4e5220cb8e4bb8f0368e7a123c48ceb6b2f4a56d
treecd44df1f817a767556c3e25df2b127d7417b132e
parent1c68b7cfd1d4902e4e6802d18331b3ab96f124c9
Input: cy8ctmg110_ts - switch to using managed resources

This simplifies error handling paths and allows to get rid of
cy8ctmg110_remove() method.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210603043726.3793876-6-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/cy8ctmg110_ts.c