[PATCH 5.2 026/135] HID: hiddev: do cleanup in failure of opening a device