From: Tomas Winkler Date: Tue, 29 May 2012 13:39:11 +0000 (+0300) Subject: misc: mei: unregister misc device in pci_remove function X-Git-Tag: v3.5-rc4~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a44cab4aff7e72e7052521121fd8ceca51351534;p=pandora-kernel.git misc: mei: unregister misc device in pci_remove function Since the misc device is registered only in the pci probe function it has to be also unregistered in the counterpart pci remove function and not in the module exit function. In case of probe failure the driver was oopsing in module exit function. Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed