Message ID | 201002150744.51730.edt@aei.ca (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c index 7d252d2..46fdeee 100644 --- a/drivers/hid/hid-magicmouse.c +++ b/drivers/hid/hid-magicmouse.c @@ -430,8 +430,8 @@ static void magicmouse_remove(struct hid_device *hdev) { struct magicmouse_sc *msc; msc = hid_get_drvdata(hdev); - input_unregister_device(msc->input); hid_hw_stop(hdev); + input_unregister_device(msc->input); kfree(msc); }