USB: serial: clean up generic-operation handling
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:36:44 +0000 (12:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:48:26 +0000 (13:48 -0700)
commitc3452f5e444446fad9bb1957d22a25334798f94c
tree81e8b8cf8078fddc56af977d6e656747ad6c5606
parent79b80b8a1141ba0605e917a6fc12d44383ab29b8
USB: serial: clean up generic-operation handling

Most USB serial drivers are, and should be, using as much of the generic
implementation as possible.

Rename the fixup_generic function to a more descriptive name.
Reword the related debug message in a more neutral tone (and remember to
add the missing newline).
Finally, move the operations initialisation to after the initial sanity
checks.

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