Input: ims-pcu - switch to using cleanup functions
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 10 Jun 2024 04:18:11 +0000 (21:18 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 20 Jun 2024 21:57:08 +0000 (14:57 -0700)
commit703f12672e1f7ca9d13bbfa56ecdd741b1e2c9d1
tree2c7b13268bef9af1ba953b1bc2a828a0e861d6e7
parent204d18a7a0c67352857dee1bbac517ed63f01d8e
Input: ims-pcu - switch to using cleanup functions

Start using __free() and guard() primitives to simplify the code
and error handling.

Link: https://lore.kernel.org/r/20240610041813.722445-2-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/ims-pcu.c