Input: ti_am335x_tsc - use resource managed API to simplify code

Use devm_input_allocate_device()/devm_kzalloc()/devm_request_irq() to
simplify error handling and remove() code.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://patch.msgid.link/20250205-input-cleanup-v1-4-9758898ff8cb@nxp.com
[dtor: ensure that interrupt is released at the right time]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 file changed