[PATCH v2 1/3] dinput: Split dinput_unacquire_window_devices helper.