Skip to content

Commit

Permalink
Staging: comedi: comedi_fc: checkpatch.pl fixes
Browse files Browse the repository at this point in the history
This patch fixes all warnings as issued by checkpatch.pl.

Signed-off-by: Klaas van Gend <klaas.van.gend@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Klaas van Gend authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent a69fba9 commit d62a01d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/staging/comedi/drivers/comedi_fc.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *subd,

retval = comedi_buf_write_alloc(async, num_bytes);
if (retval != num_bytes) {
printk("comedi: buffer overrun\n");
printk(KERN_WARNING "comedi: buffer overrun\n");
async->events |= COMEDI_CB_OVERFLOW;
return 0;
}
Expand All @@ -65,7 +65,6 @@ unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *subd,

return num_bytes;
}

EXPORT_SYMBOL(cfc_write_array_to_buffer);

unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd,
Expand All @@ -84,7 +83,6 @@ unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd,

return num_bytes;
}

EXPORT_SYMBOL(cfc_read_array_from_buffer);

unsigned int cfc_handle_events(struct comedi_device *dev,
Expand All @@ -102,7 +100,6 @@ unsigned int cfc_handle_events(struct comedi_device *dev,

return events;
}

EXPORT_SYMBOL(cfc_handle_events);

MODULE_AUTHOR("Frank Mori Hess <fmhess@users.sourceforge.net>");
Expand Down

0 comments on commit d62a01d

Please sign in to comment.