]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: only make /sys/class/usb show up when there is something in it
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 20 Jun 2006 22:14:07 +0000 (15:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:19 +0000 (15:04 -0700)
commitab370f1a621dc1e5e8bda141e9e6af8a84fb1983
tree465c6e7a3bcc68cebf4b29f32c3574454cf98323
parent76d4245cdcf6b91bbc91711c46a44a8892f754e8
[PATCH] USB: only make /sys/class/usb show up when there is something in it

Now /sys/class/usb is dynamically created when we have something to put
in it, and removed when all devices go away.

Just trying to cut down on the clutter in sysfs...

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/file.c