serqt: initial clean up pass for tty side
commit0c212603981abb9bb8fe4ed1eec521dc18be02b9
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 7 Apr 2009 15:48:27 +0000 (7 16:48 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2009 15:44:05 +0000 (7 08:44 -0700)
tree1230d3a89f8dc9a6a631c3aed2e7969648128223
parent6fd1af4cf98936f4034caf8f132c7826a6ffd0fa
serqt: initial clean up pass for tty side

Avoid using port->tty where possible (makes refcount fixing easier
later).

Remove unused code (the ioctl path is not used if the device has
mget/mset functions)

Remove various un-needed typecasts and long names so it could read it to
do the changes.

Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/staging/serqt_usb/serqt_usb.c