Staging: comedi: fix checkpatch.pl issues in comedi_fc.c
This fixes all of the checkpatch.pl issues in the comedi_fc.c file. Cc: David Schleef <ds@schleef.org> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
e7f2aa3455
commit
4e85a13b4e
1 changed files with 11 additions and 11 deletions
|
@ -65,6 +65,7 @@ unsigned int cfc_write_array_to_buffer(comedi_subdevice * subd, void *data,
|
||||||
|
|
||||||
return num_bytes;
|
return num_bytes;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(cfc_write_array_to_buffer);
|
||||||
|
|
||||||
unsigned int cfc_read_array_from_buffer(comedi_subdevice *subd, void *data,
|
unsigned int cfc_read_array_from_buffer(comedi_subdevice *subd, void *data,
|
||||||
unsigned int num_bytes)
|
unsigned int num_bytes)
|
||||||
|
@ -82,6 +83,7 @@ unsigned int cfc_read_array_from_buffer(comedi_subdevice * subd, void *data,
|
||||||
|
|
||||||
return num_bytes;
|
return num_bytes;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(cfc_read_array_from_buffer);
|
||||||
|
|
||||||
unsigned int cfc_handle_events(comedi_device *dev, comedi_subdevice *subd)
|
unsigned int cfc_handle_events(comedi_device *dev, comedi_subdevice *subd)
|
||||||
{
|
{
|
||||||
|
@ -97,6 +99,7 @@ unsigned int cfc_handle_events(comedi_device * dev, comedi_subdevice * subd)
|
||||||
|
|
||||||
return events;
|
return events;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(cfc_handle_events);
|
||||||
|
|
||||||
MODULE_AUTHOR("Frank Mori Hess <fmhess@users.sourceforge.net>");
|
MODULE_AUTHOR("Frank Mori Hess <fmhess@users.sourceforge.net>");
|
||||||
MODULE_DESCRIPTION("Shared functions for Comedi low-level drivers");
|
MODULE_DESCRIPTION("Shared functions for Comedi low-level drivers");
|
||||||
|
@ -106,13 +109,10 @@ static int __init comedi_fc_init_module(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __exit comedi_fc_cleanup_module(void)
|
static void __exit comedi_fc_cleanup_module(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
module_init(comedi_fc_init_module);
|
module_init(comedi_fc_init_module);
|
||||||
module_exit(comedi_fc_cleanup_module);
|
module_exit(comedi_fc_cleanup_module);
|
||||||
|
|
||||||
EXPORT_SYMBOL(cfc_write_array_to_buffer);
|
|
||||||
EXPORT_SYMBOL(cfc_read_array_from_buffer);
|
|
||||||
EXPORT_SYMBOL(cfc_handle_events);
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue