This is a patch to the unioxx5.c file that fixes up a line over 80 character 
warning found by the checkpatch.pl tool

Signed-off-by: Ravishankar K Mallikarjunayya <[email protected]>
---
 drivers/staging/comedi/drivers/unioxx5.c |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/comedi/drivers/unioxx5.c 
b/drivers/staging/comedi/drivers/unioxx5.c
index 89e62aa..fca7c2f 100644
--- a/drivers/staging/comedi/drivers/unioxx5.c
+++ b/drivers/staging/comedi/drivers/unioxx5.c
@@ -101,7 +101,10 @@ static int __unioxx5_digital_write(struct 
unioxx5_subd_priv *usp,
                                   unsigned int *data, int channel, int minor);
 static int __unioxx5_digital_read(struct unioxx5_subd_priv *usp,
                                  unsigned int *data, int channel, int minor);
-/* static void __unioxx5_digital_config(struct unioxx5_subd_priv* usp, int 
mode); */
+/*
+ * static void __unioxx5_digital_config(struct unioxx5_subd_priv* usp,
+ * int mode);
+ */
 static int __unioxx5_analog_write(struct unioxx5_subd_priv *usp,
                                  unsigned int *data, int channel, int minor);
 static int __unioxx5_analog_read(struct unioxx5_subd_priv *usp,
@@ -141,7 +144,10 @@ static int unioxx5_attach(struct comedi_device *dev,
        dev->iobase = iobase;
        iobase += UNIOXX5_SUBDEV_BASE;
 
-       /* defining number of subdevices and getting they types (it must be 
'g01')  */
+       /*
+        * defining number of subdevices and getting they types
+        * (it must be 'g01')
+        */
        for (i = n_subd = 0, ba = iobase; i < 4; i++, ba += 
UNIOXX5_SUBDEV_ODDS) {
                id = inb(ba + 0xE);
                num = inb(ba + 0xF);
@@ -409,7 +415,11 @@ static int __unioxx5_digital_read(struct unioxx5_subd_priv 
*usp,
        *data &= mask;
 
        if (channel_offset > 1)
-               channel -= 2 << channel_offset; /* this operation is created 
for correct readed value to 0 or 1 */
+               /*
+                * this operation is created for correct readed
+                * value to 0 or 1
+                */
+               channel -= 2 << channel_offset;
        *data >>= channel;
        return 1;
 }
-- 
1.6.5.2

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to