[PATCH 6.1 333/379] Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()