From: Mark Rankilor Date: Mon, 3 May 2010 10:07:36 +0000 (+0800) Subject: Staging: comedi: Adjusted some long line lengths in drivers.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aad4029a49e17d8529b8b802d4ecd774ef941f7c;p=linux-beck.git Staging: comedi: Adjusted some long line lengths in drivers.c This patch fixes some long line lengths in drivers.c that checkpatch.pl was complaining about Signed-off-by: Mark Rankilor Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c index d7a450917405..a8f3d790b3d5 100644 --- a/drivers/staging/comedi/drivers.c +++ b/drivers/staging/comedi/drivers.c @@ -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);