Fix the last checkpatch.pl warning in this file.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
---
drivers/staging/comedi/drivers/pcmuio.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/comedi/drivers/pcmuio.c
b/drivers/staging/comedi/drivers/pcmuio.c
index d73b491..9a560a3 100644
--- a/drivers/staging/comedi/drivers/pcmuio.c
+++ b/drivers/staging/comedi/drivers/pcmuio.c
@@ -831,7 +831,8 @@ static int pcmuio_attach(struct comedi_device *dev, struct
comedi_devconfig *it)
/* save the ioport address for each 'port' of 8 channels in the
subdevice */
- for (byte_no = 0; byte_no < PORTS_PER_SUBDEV; ++byte_no,
++port) {
+ for (byte_no = 0; byte_no < PORTS_PER_SUBDEV;
+ ++byte_no, ++port) {
if (port >= PORTS_PER_ASIC) {
port = 0;
++asic;
--
1.8.1.4
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel