commit | 0a245982e60458f29bea8bfa40f6115edc855a35 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Apr 05 16:08:13 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 08 10:27:43 2013 -0700 |
tree | 0e9696b7f31db4b0d95a22a2f2b37737443e43fa | |
parent | 32ef0e3e308f59413ba2da42717a884362bf2efc [diff] |
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>