]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: comedi: Adjusted some long line lengths in drivers.c
authorMark Rankilor <reodge@gmail.com>
Mon, 3 May 2010 10:07:36 +0000 (18:07 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:02 +0000 (11:36 -0700)
This patch fixes some long line lengths in drivers.c that checkpatch.pl was
complaining about

Signed-off-by: Mark Rankilor <reodge@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers.c

index d7a450917405841d376d0010dd51b552d486737a..a8f3d790b3d5872176ff2992788f7b9dfdf73d90 100644 (file)
@@ -172,7 +172,8 @@ attached:
        }
 
        if (!dev->board_name) {
-               printk(KERN_WARNING "BUG: dev->board_name=<%p>\n", dev->board_name);
+               printk(KERN_WARNING "BUG: dev->board_name=<%p>\n",
+                      dev->board_name);
                dev->board_name = "BUG";
        }
        smp_wmb();
@@ -374,8 +375,9 @@ static int insn_rw_emulate_bits(struct comedi_device *dev,
        if (insn->insn == INSN_WRITE) {
                if (!(s->subdev_flags & SDF_WRITABLE))
                        return -EINVAL;
-               new_data[0] = 1 << (chan - base_bitfield_channel);      /* mask */
-               new_data[1] = data[0] ? (1 << (chan - base_bitfield_channel)) : 0;      /* bits */
+               new_data[0] = 1 << (chan - base_bitfield_channel); /* mask */
+               new_data[1] = data[0] ? (1 << (chan - base_bitfield_channel))
+                             : 0; /* bits */
        }
 
        ret = s->insn_bits(dev, s, &new_insn, new_data);