]> git.karo-electronics.de Git - mv-sheeva.git/commit
HID: magicmouse: fix oops after device removal
authorMichael Poole <mdpoole@troilus.org>
Tue, 9 Mar 2010 11:47:35 +0000 (06:47 -0500)
committerJiri Kosina <jkosina@suse.cz>
Tue, 9 Mar 2010 12:42:19 +0000 (13:42 +0100)
commit28918c211d86b6eeb70182c523800c7bc442960c
tree02a27440adfd5ad3751e58a8d8b2202aec178da4
parenta85821fce2c100a6680511f9693b76f9717fbdee
HID: magicmouse: fix oops after device removal

Ask the HID core not to register an input device for the mouse.
Fix an oops after removing the device, due to leaving the new
input device registered.

Signed-off-by: Michael Poole <mdpoole@troilus.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-magicmouse.c