From: Eric W. Biederman Date: Wed, 4 Nov 2009 10:50:28 +0000 (-0800) Subject: Driver core: Don't remove kobjects in device_shutdown. X-Git-Tag: v2.6.33-rc1~314^2~17 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18ef545e47c126abd87c013b762b5fbb574858ce;p=pandora-kernel.git Driver core: Don't remove kobjects in device_shutdown. device_shutdown is defined to just shutdown the hardware and to not clean up any kernel data structures. Therefore don't put the kobjects for /sys/dev and /sys/dev/block and /sys/dev/char. This ensures we don't remove /sys/dev/block and /sys/dev/char while we still have symlinks from there to the actual devices. Acked-by: Kay Sievers Signed-off-by: Eric W. Biederman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed