diff options
author | Huang Shijie <shijie8@gmail.com> | 2012-08-23 02:13:36 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-05 20:28:35 (GMT) |
commit | f21ec3d2d46e5f2ffc06f31fe2704fdcea7a58f3 (patch) | |
tree | 5d814cd687776374f960d3af2490187c3fbdf750 /drivers/parport/parport_gsc.c | |
parent | e5b57c037a656c694c7f3674f96352297a6ee7d8 (diff) | |
download | linux-f21ec3d2d46e5f2ffc06f31fe2704fdcea7a58f3.tar.xz |
serial: add a new helper function
In most of the time, the driver needs to check if the cts flow control
is enabled. But now, the driver checks the ASYNC_CTS_FLOW flag manually,
which is not a grace way. So add a new wraper function to make the code
tidy and clean.
Signed-off-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/parport/parport_gsc.c')
0 files changed, 0 insertions, 0 deletions