On Fri, Oct 28, 2022 at 09:40:43PM +0800, Yang Yingliang wrote: > If hid_add_device() returns error, it should call hid_destroy_device() > to free hid_dev which is allocated in hid_allocate_device(). > > Fixes: 74c4fb058083 ("HID: hv_mouse: Properly add the hid device") > Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> Reviewed-by: Wei Liu <wei.liu@xxxxxxxxxx>