[PATCH AUTOSEL 6.1 10/27] spmi: mediatek: Fix UAF on device remove