From: Jim Radford Date: Wed, 28 Feb 2007 18:10:50 +0000 (-0800) Subject: USB: ftdi_sio: use port_probe / port_remove thereby fixing access to the latency_timer X-Git-Tag: v2.6.21-rc4~54^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12bdbe03c8db7139de1de5c622cb0609d259cece;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed