USB: opticon: use port as urb context
authorJohan Hovold <jhovold@gmail.com>
Sun, 18 Nov 2012 12:23:32 +0000 (13:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 21:33:55 +0000 (13:33 -0800)
commite32d82bcdb78f502f58d0b078395ed3864aaa223
tree29b6c87ed9a2cc601c3bdb8f40a8f38a2cdef224
parent56be1a17d76d8517fe56e0e3da63d1d203b45d1e
USB: opticon: use port as urb context

Use port rather than private data as urb context, as the latter may be
accessed as port data, and remove the port field from the private data.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/opticon.c