alistair23-linux/drivers/usb/core
Alan Stern 4a9bee8256 USB: uevent environment key fix
This patch (as1010) was written by both Kay Sievers and me.  It solves
the problem of duplicated keys in USB uevent structures by refactoring
the uevent subroutines, taking advantage of the way the hotplug core
calls uevent handlers for the device's bus and for the device's type.
Keys needed for both USB-device and USB-interface events are added in
usb_uevent(), which is the bus handler.  Keys appropriate only for
USB-device or USB-interface events are added in usb_dev_uevent() or
usb_if_uevent() respectively, the type handlers.

In addition, unnecessary tests for NULL pointers are removed as are
duplicated debugging log statements.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-11-28 13:58:35 -08:00
..
buffer.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
config.c usb: usb_get_configuration() obeys authorization 2007-10-12 14:55:06 -07:00
devices.c USB: add IAD support to usbfs and sysfs 2007-07-12 16:34:40 -07:00
devio.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
driver.c USB: uevent environment key fix 2007-11-28 13:58:35 -08:00
endpoint.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
file.c USB: prevent char device open/deregister race 2007-07-12 16:29:48 -07:00
generic.c USB: move decision to ignore FREEZE events 2007-10-12 14:55:26 -07:00
hcd-pci.c USB: remove references to dev.power.power_state 2007-07-12 16:29:46 -07:00
hcd.c USB HCD: avoid duplicate local_irq_disable() 2007-11-28 13:58:35 -08:00
hcd.h USB: mutual exclusion for EHCI init and port resets 2007-10-12 14:55:34 -07:00
hub.c USB: Fix priority mistakes in drivers/usb/core/hub.c 2007-11-28 13:58:33 -08:00
hub.h
inode.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
Kconfig USB: add power/persist device attribute 2007-07-12 16:34:30 -07:00
Makefile
message.c USB: uevent environment key fix 2007-11-28 13:58:35 -08:00
notify.c
otg_whitelist.h
quirks.c USB: remove USB_QUIRK_NO_AUTOSUSPEND 2007-10-12 14:55:28 -07:00
sysfs.c USB: keep track of whether interface sysfs files exist 2007-11-28 13:58:35 -08:00
urb.c USB: add URB_FREE_BUFFER to permissible flags 2007-10-25 12:18:43 -07:00
usb.c USB: uevent environment key fix 2007-11-28 13:58:35 -08:00
usb.h USB: rename choose_configuration 2007-10-12 14:55:08 -07:00