aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ Freyensee <james_p_freyensee@linux.intel.com>2010-12-09 10:37:38 +0000
committerAlan Cox <alan@linux.intel.com>2010-12-09 10:37:38 +0000
commit7975c0d82e32d5fcfe6f700b875d2225c531c4c5 (patch)
tree417b0d9a7ddbaae1218a2a703c596c7e0177ab86
parent6157a886622c175198b7ddd38e9b55d6884d8ad6 (diff)
downloadmrst-s0i3-test-7975c0d82e32d5fcfe6f700b875d2225c531c4c5.tar.gz
mrst-s0i3-test-7975c0d82e32d5fcfe6f700b875d2225c531c4c5.tar.xz
mrst-s0i3-test-7975c0d82e32d5fcfe6f700b875d2225c531c4c5.zip
n_tracerouter: checkpatch cleanup
this cleans up any coding style issues in n_tracerouter ldisc for future submission to the mainline kernel. Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com>
-rw-r--r--drivers/tty/n_tracerouter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/tty/n_tracerouter.c b/drivers/tty/n_tracerouter.c
index ec85ccd5b41..ea6bff1bcf4 100644
--- a/drivers/tty/n_tracerouter.c
+++ b/drivers/tty/n_tracerouter.c
@@ -52,7 +52,7 @@
#define DRIVERNAME "n_tracerouter"
/* struct to hold private configuration data for this ldisc.
- * opencalled is used to hold if this ldisc has been opened.
+ * opencalled is used to hold if this ldisc has been opened.
* kref_tty holds the tty reference the ldisc sits on top of.
*/
struct tracerouter_data {
@@ -200,7 +200,8 @@ static void n_tracerouter_receivebuf(struct tty_struct *tty,
const unsigned char *cp,
char *fp, int count)
{
- pr_debug("%s(%s): calling n_tracesink_datadrain()\n", __FILE__, __func__);
+ pr_debug("%s(%s): calling n_tracesink_datadrain()\n", __FILE__,
+ __func__);
mutex_lock(&routelock);
n_tracesink_datadrain((u8 *) cp, count);
mutex_unlock(&routelock);