USB: spcp8x5: pass usb-serial port to control functions
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:37:27 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:52:27 +0000 (13:52 -0700)
commit8413d2fd80a8e1f09a37c371610a89618980b08f
tree94f1f2a756ba0b0fc3b96d278e1dcd2a337fa88a
parent2d816ac6f5e0a0dc03be752c1599ed9588b403d2
USB: spcp8x5: pass usb-serial port to control functions

Pass usb-serial port to the control functions for uart status and work
mode.

Use port device for debugging and use dev_err to report errors.

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