diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-09-11 16:51:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-11 17:03:16 -0400 |
commit | 4e4fd689ad9648202a9723658c115cc7e066df9a (patch) | |
tree | 7060d993965d15ab2d78ac35fa671a9a0644475d | |
parent | 65e9e2dc2cca5590affcc299454a783578c9457b (diff) |
staging: comedi: icp_multi: remove the function description comments
These comments are pretty obvious. Remove them.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/icp_multi.c | 196 |
1 files changed, 0 insertions, 196 deletions
diff --git a/drivers/staging/comedi/drivers/icp_multi.c b/drivers/staging/comedi/drivers/icp_multi.c index c340855ac7e5..d696d4d51e28 100644 --- a/drivers/staging/comedi/drivers/icp_multi.c +++ b/drivers/staging/comedi/drivers/icp_multi.c | |||
@@ -130,26 +130,6 @@ struct icp_multi_private { | |||
130 | unsigned int do_data; /* Remember digital output data */ | 130 | unsigned int do_data; /* Remember digital output data */ |
131 | }; | 131 | }; |
132 | 132 | ||
133 | /* | ||
134 | ============================================================================== | ||
135 | |||
136 | Name: setup_channel_list | ||
137 | |||
138 | Description: | ||
139 | This function sets the appropriate channel selection, | ||
140 | differential input mode and range bits in the ADC Command/ | ||
141 | Status register. | ||
142 | |||
143 | Parameters: | ||
144 | struct comedi_device *dev Pointer to current service structure | ||
145 | struct comedi_subdevice *s Pointer to current subdevice structure | ||
146 | unsigned int *chanlist Pointer to packed channel list | ||
147 | unsigned int n_chan Number of channels to scan | ||
148 | |||
149 | Returns:Void | ||
150 | |||
151 | ============================================================================== | ||
152 | */ | ||
153 | static void setup_channel_list(struct comedi_device *dev, | 133 | static void setup_channel_list(struct comedi_device *dev, |
154 | struct comedi_subdevice *s, | 134 | struct comedi_subdevice *s, |
155 | unsigned int *chanlist, unsigned int n_chan) | 135 | unsigned int *chanlist, unsigned int n_chan) |
@@ -198,24 +178,6 @@ static void setup_channel_list(struct comedi_device *dev, | |||
198 | } | 178 | } |
199 | } | 179 | } |
200 | 180 | ||
201 | /* | ||
202 | ============================================================================== | ||
203 | |||
204 | Name: icp_multi_insn_read_ai | ||
205 | |||
206 | Description: | ||
207 | This function reads a single analogue input. | ||
208 | |||
209 | Parameters: | ||
210 | struct comedi_device *dev Pointer to current device structure | ||
211 | struct comedi_subdevice *s Pointer to current subdevice structure | ||
212 | struct comedi_insn *insn Pointer to current comedi instruction | ||
213 | unsigned int *data Pointer to analogue input data | ||
214 | |||
215 | Returns:int Nmuber of instructions executed | ||
216 | |||
217 | ============================================================================== | ||
218 | */ | ||
219 | static int icp_multi_insn_read_ai(struct comedi_device *dev, | 181 | static int icp_multi_insn_read_ai(struct comedi_device *dev, |
220 | struct comedi_subdevice *s, | 182 | struct comedi_subdevice *s, |
221 | struct comedi_insn *insn, unsigned int *data) | 183 | struct comedi_insn *insn, unsigned int *data) |
@@ -286,24 +248,6 @@ conv_finish: | |||
286 | return n; | 248 | return n; |
287 | } | 249 | } |
288 | 250 | ||
289 | /* | ||
290 | ============================================================================== | ||
291 | |||
292 | Name: icp_multi_insn_write_ao | ||
293 | |||
294 | Description: | ||
295 | This function writes a single analogue output. | ||
296 | |||
297 | Parameters: | ||
298 | struct comedi_device *dev Pointer to current device structure | ||
299 | struct comedi_subdevice *s Pointer to current subdevice structure | ||
300 | struct comedi_insn *insn Pointer to current comedi instruction | ||
301 | unsigned int *data Pointer to analogue output data | ||
302 | |||
303 | Returns:int Nmuber of instructions executed | ||
304 | |||
305 | ============================================================================== | ||
306 | */ | ||
307 | static int icp_multi_insn_write_ao(struct comedi_device *dev, | 251 | static int icp_multi_insn_write_ao(struct comedi_device *dev, |
308 | struct comedi_subdevice *s, | 252 | struct comedi_subdevice *s, |
309 | struct comedi_insn *insn, unsigned int *data) | 253 | struct comedi_insn *insn, unsigned int *data) |
@@ -380,24 +324,6 @@ dac_ready: | |||
380 | return n; | 324 | return n; |
381 | } | 325 | } |
382 | 326 | ||
383 | /* | ||
384 | ============================================================================== | ||
385 | |||
386 | Name: icp_multi_insn_read_ao | ||
387 | |||
388 | Description: | ||
389 | This function reads a single analogue output. | ||
390 | |||
391 | Parameters: | ||
392 | struct comedi_device *dev Pointer to current device structure | ||
393 | struct comedi_subdevice *s Pointer to current subdevice structure | ||
394 | struct comedi_insn *insn Pointer to current comedi instruction | ||
395 | unsigned int *data Pointer to analogue output data | ||
396 | |||
397 | Returns:int Nmuber of instructions executed | ||
398 | |||
399 | ============================================================================== | ||
400 | */ | ||
401 | static int icp_multi_insn_read_ao(struct comedi_device *dev, | 327 | static int icp_multi_insn_read_ao(struct comedi_device *dev, |
402 | struct comedi_subdevice *s, | 328 | struct comedi_subdevice *s, |
403 | struct comedi_insn *insn, unsigned int *data) | 329 | struct comedi_insn *insn, unsigned int *data) |
@@ -415,24 +341,6 @@ static int icp_multi_insn_read_ao(struct comedi_device *dev, | |||
415 | return n; | 341 | return n; |
416 | } | 342 | } |
417 | 343 | ||
418 | /* | ||
419 | ============================================================================== | ||
420 | |||
421 | Name: icp_multi_insn_bits_di | ||
422 | |||
423 | Description: | ||
424 | This function reads the digital inputs. | ||
425 | |||
426 | Parameters: | ||
427 | struct comedi_device *dev Pointer to current device structure | ||
428 | struct comedi_subdevice *s Pointer to current subdevice structure | ||
429 | struct comedi_insn *insn Pointer to current comedi instruction | ||
430 | unsigned int *data Pointer to analogue output data | ||
431 | |||
432 | Returns:int Nmuber of instructions executed | ||
433 | |||
434 | ============================================================================== | ||
435 | */ | ||
436 | static int icp_multi_insn_bits_di(struct comedi_device *dev, | 344 | static int icp_multi_insn_bits_di(struct comedi_device *dev, |
437 | struct comedi_subdevice *s, | 345 | struct comedi_subdevice *s, |
438 | struct comedi_insn *insn, unsigned int *data) | 346 | struct comedi_insn *insn, unsigned int *data) |
@@ -444,24 +352,6 @@ static int icp_multi_insn_bits_di(struct comedi_device *dev, | |||
444 | return insn->n; | 352 | return insn->n; |
445 | } | 353 | } |
446 | 354 | ||
447 | /* | ||
448 | ============================================================================== | ||
449 | |||
450 | Name: icp_multi_insn_bits_do | ||
451 | |||
452 | Description: | ||
453 | This function writes the appropriate digital outputs. | ||
454 | |||
455 | Parameters: | ||
456 | struct comedi_device *dev Pointer to current device structure | ||
457 | struct comedi_subdevice *s Pointer to current subdevice structure | ||
458 | struct comedi_insn *insn Pointer to current comedi instruction | ||
459 | unsigned int *data Pointer to analogue output data | ||
460 | |||
461 | Returns:int Nmuber of instructions executed | ||
462 | |||
463 | ============================================================================== | ||
464 | */ | ||
465 | static int icp_multi_insn_bits_do(struct comedi_device *dev, | 355 | static int icp_multi_insn_bits_do(struct comedi_device *dev, |
466 | struct comedi_subdevice *s, | 356 | struct comedi_subdevice *s, |
467 | struct comedi_insn *insn, unsigned int *data) | 357 | struct comedi_insn *insn, unsigned int *data) |
@@ -482,24 +372,6 @@ static int icp_multi_insn_bits_do(struct comedi_device *dev, | |||
482 | return insn->n; | 372 | return insn->n; |
483 | } | 373 | } |
484 | 374 | ||
485 | /* | ||
486 | ============================================================================== | ||
487 | |||
488 | Name: icp_multi_insn_read_ctr | ||
489 | |||
490 | Description: | ||
491 | This function reads the specified counter. | ||
492 | |||
493 | Parameters: | ||
494 | struct comedi_device *dev Pointer to current device structure | ||
495 | struct comedi_subdevice *s Pointer to current subdevice structure | ||
496 | struct comedi_insn *insn Pointer to current comedi instruction | ||
497 | unsigned int *data Pointer to counter data | ||
498 | |||
499 | Returns:int Nmuber of instructions executed | ||
500 | |||
501 | ============================================================================== | ||
502 | */ | ||
503 | static int icp_multi_insn_read_ctr(struct comedi_device *dev, | 375 | static int icp_multi_insn_read_ctr(struct comedi_device *dev, |
504 | struct comedi_subdevice *s, | 376 | struct comedi_subdevice *s, |
505 | struct comedi_insn *insn, unsigned int *data) | 377 | struct comedi_insn *insn, unsigned int *data) |
@@ -507,24 +379,6 @@ static int icp_multi_insn_read_ctr(struct comedi_device *dev, | |||
507 | return 0; | 379 | return 0; |
508 | } | 380 | } |
509 | 381 | ||
510 | /* | ||
511 | ============================================================================== | ||
512 | |||
513 | Name: icp_multi_insn_write_ctr | ||
514 | |||
515 | Description: | ||
516 | This function write to the specified counter. | ||
517 | |||
518 | Parameters: | ||
519 | struct comedi_device *dev Pointer to current device structure | ||
520 | struct comedi_subdevice *s Pointer to current subdevice structure | ||
521 | struct comedi_insn *insn Pointer to current comedi instruction | ||
522 | unsigned int *data Pointer to counter data | ||
523 | |||
524 | Returns:int Nmuber of instructions executed | ||
525 | |||
526 | ============================================================================== | ||
527 | */ | ||
528 | static int icp_multi_insn_write_ctr(struct comedi_device *dev, | 382 | static int icp_multi_insn_write_ctr(struct comedi_device *dev, |
529 | struct comedi_subdevice *s, | 383 | struct comedi_subdevice *s, |
530 | struct comedi_insn *insn, | 384 | struct comedi_insn *insn, |
@@ -533,21 +387,6 @@ static int icp_multi_insn_write_ctr(struct comedi_device *dev, | |||
533 | return 0; | 387 | return 0; |
534 | } | 388 | } |
535 | 389 | ||
536 | /* | ||
537 | ============================================================================== | ||
538 | |||
539 | Name: interrupt_service_icp_multi | ||
540 | |||
541 | Description: | ||
542 | This function is the interrupt service routine for all | ||
543 | interrupts generated by the icp multi board. | ||
544 | |||
545 | Parameters: | ||
546 | int irq | ||
547 | void *d Pointer to current device | ||
548 | |||
549 | ============================================================================== | ||
550 | */ | ||
551 | static irqreturn_t interrupt_service_icp_multi(int irq, void *d) | 390 | static irqreturn_t interrupt_service_icp_multi(int irq, void *d) |
552 | { | 391 | { |
553 | struct comedi_device *dev = d; | 392 | struct comedi_device *dev = d; |
@@ -587,26 +426,6 @@ static irqreturn_t interrupt_service_icp_multi(int irq, void *d) | |||
587 | } | 426 | } |
588 | 427 | ||
589 | #if 0 | 428 | #if 0 |
590 | /* | ||
591 | ============================================================================== | ||
592 | |||
593 | Name: check_channel_list | ||
594 | |||
595 | Description: | ||
596 | This function checks if the channel list, provided by user | ||
597 | is built correctly | ||
598 | |||
599 | Parameters: | ||
600 | struct comedi_device *dev Pointer to current service structure | ||
601 | struct comedi_subdevice *s Pointer to current subdevice structure | ||
602 | unsigned int *chanlist Pointer to packed channel list | ||
603 | unsigned int n_chan Number of channels to scan | ||
604 | |||
605 | Returns:int 0 = failure | ||
606 | 1 = success | ||
607 | |||
608 | ============================================================================== | ||
609 | */ | ||
610 | static int check_channel_list(struct comedi_device *dev, | 429 | static int check_channel_list(struct comedi_device *dev, |
611 | struct comedi_subdevice *s, | 430 | struct comedi_subdevice *s, |
612 | unsigned int *chanlist, unsigned int n_chan) | 431 | unsigned int *chanlist, unsigned int n_chan) |
@@ -639,21 +458,6 @@ static int check_channel_list(struct comedi_device *dev, | |||
639 | } | 458 | } |
640 | #endif | 459 | #endif |
641 | 460 | ||
642 | /* | ||
643 | ============================================================================== | ||
644 | |||
645 | Name: icp_multi_reset | ||
646 | |||
647 | Description: | ||
648 | This function resets the icp multi device to a 'safe' state | ||
649 | |||
650 | Parameters: | ||
651 | struct comedi_device *dev Pointer to current service structure | ||
652 | |||
653 | Returns:int 0 = success | ||
654 | |||
655 | ============================================================================== | ||
656 | */ | ||
657 | static int icp_multi_reset(struct comedi_device *dev) | 461 | static int icp_multi_reset(struct comedi_device *dev) |
658 | { | 462 | { |
659 | struct icp_multi_private *devpriv = dev->private; | 463 | struct icp_multi_private *devpriv = dev->private; |