diff options
author | 2007-02-28 10:10:50 -0800 | |
---|---|---|
committer | 2007-03-09 19:52:24 -0800 | |
commit | 12bdbe03c8db7139de1de5c622cb0609d259cece (patch) | |
tree | 8d3938e4ddee18c9a23eac12750ad50ec7f46118 /drivers/usb/class | |
parent | usb-serial: fix shutdown / device_unregister order (diff) | |
download | wireguard-linux-12bdbe03c8db7139de1de5c622cb0609d259cece.tar.xz wireguard-linux-12bdbe03c8db7139de1de5c622cb0609d259cece.zip |
USB: ftdi_sio: use port_probe / port_remove thereby fixing access to the latency_timer
Convert all the port specific code in attach / shutdown to use the new
port_probe / port_register callbacks from device_register /
device_unregister allowing adding the sysfs attributes to be added at
the correct time and to the serial port device itself, instead of to
the unadorned usb device, avoiding a NULL dereference.
Signed-off-by: Jim Radford <radford@blackbean.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions