Skip to contentSkip to conversation

staging: comedi: fix coding style issues in comedi_fops.c

PATCH New RAGHAVENDRA GANIGA 1 participant 1 message Apr 25, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: comedi: fix coding style issues in comedi_fops.c

Quoted 1 line

From 7bdc654b12895889a539450528b52328901e6dc0 Mon Sep 17 00:00:00 2001

From: Raghavendra Ganiga <[email protected]>
Date: Fri, 25 Apr 2014 23:11:22 +0530
Subject: [PATCH] staging: comedi: fix coding style issues in comedi_fops.c

This is a patch to fix coding style warnings found by the checkpatch.pl tool

---
 drivers/staging/comedi/comedi_fops.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/comedi/comedi_fops.c +4 -2
index ea6dc36..0cd67d0 100644
@@ -1435,13 +1435,15 @@ static int __comedi_get_user_cmd(struct comedi_device *dev,
 	s = &dev->subdevices[cmd->subdev];
 
 	if (s->type == COMEDI_SUBD_UNUSED) {
-		dev_dbg(dev->class_dev, "%d not valid subdevice\n", cmd->subdev);
+		dev_dbg(dev->class_dev,
+			"%d not valid subdevice\n", cmd->subdev);
 		return -EIO;
 	}
 
 	if (!s->do_cmd || !s->do_cmdtest || !s->async) {
 		dev_dbg(dev->class_dev,
-			"subdevice %d does not support commands\n", cmd->subdev);
+			"subdevice %d does not support commands\n",
+			cmd->subdev);
 		return -EIO;
 	}
 
Signature · 1 line
1.7.10.4