]> git.baikalelectronics.ru Git - kernel.git/commit
serqt: initial clean up pass for tty side
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 7 Apr 2009 15:48:27 +0000 (16:48 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2009 15:44:05 +0000 (08:44 -0700)
commit1b388be65a8999ac3ce9760d912ed7b445dfccb9
tree1230d3a89f8dc9a6a631c3aed2e7969648128223
parent8ed3cba393d67a9182048b8d802652edfed289b8
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