From: Linus Torvalds Date: Sun, 1 Apr 2007 17:54:13 +0000 (-0700) Subject: driver core: do not wait unnecessarily in driver_unregister() X-Git-Tag: v2.6.21-rc6~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ef2abcbeb5b0be23f7cc610a024b2406e3d8e6;p=pandora-kernel.git driver core: do not wait unnecessarily in driver_unregister() Ingo reported that built-in drivers suffered bootup hangs with certain driver unregistry sequences, due to sysfs breakage. Do the minimal fix for v2.6.21: only wait if the driver is a module. Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed