usb-serial: fix shutdown / device_unregister order
authorJim Radford <radford@blackbean.org>
Wed, 28 Feb 2007 16:14:13 +0000 (08:14 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 Mar 2007 03:52:24 +0000 (19:52 -0800)
commitd9a7ecacac5f8274d2afce09aadcf37bdb42b93a
treeece61cf44c0b8edc961080a2c8c4bc5cf585a7c4
parent4eaf60e0114946d82ef523e8c0718831cbdd3414
usb-serial: fix shutdown / device_unregister order

Ensure that the ->port_remove() callbacks get called before the
->shutdown() callback which makeing the order symmetric with
->attach() being called before ->port_probe().

Signed-off-by: Jim Radford <radford@blackbean.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb-serial.c