]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: serial2002: factor (*poll) busy wait out of tty_read()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 5 Apr 2013 23:08:13 +0000 (16:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Apr 2013 17:27:43 +0000 (10:27 -0700)
commit716c22ca1a0c25c0d910923d942838648638c03c
tree0e9696b7f31db4b0d95a22a2f2b37737443e43fa
parent4dc22addfc758c158d3faf24569ee0c95509cac6
staging: comedi: serial2002: factor (*poll) busy wait out of tty_read()

Factor the (*poll) busy wait code out of tty_read() so the indent
level can be reduced and tty_read() is a bit cleaner.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/serial2002.c