From: Dmitry Torokhov Date: Tue, 27 Jun 2006 12:30:31 +0000 (-0400) Subject: Input: fix resetting name, phys and uniq when unregistering device X-Git-Tag: v2.6.18-rc1~592 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7374e48009a15a680d53bd1f9828b9b79a8aac9;p=pandora-kernel.git Input: fix resetting name, phys and uniq when unregistering device It should be done before calling class_device_unregister() because it will destroy the device and free memory if there are no other references to the device. Signed-off-by: Dmitry Torokhov Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed