Input: soc_button_array - use __free() cleanup facilities to free memory

Switch to using __free(acpi_object_free) and __free(kfree) cleanup
facilities instead of doing manual cleanup or abusing devm for
allocations that are only needed during probing.

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Link: https://patch.msgid.link/20261021015004.1537738-2-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 file changed