From: Huang Shijie Date: Thu, 23 Aug 2012 02:13:36 +0000 (-0400) Subject: serial: add a new helper function X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f21ec3d2d46e5f2ffc06f31fe2704fdcea7a58f3;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed