diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2015-10-27 12:59:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-28 19:58:36 -0400 |
commit | cbad8cf4263009845139cc329738a106df6461d2 (patch) | |
tree | eea0c11e718138100960d822be47fb7c42387679 | |
parent | c27fc351cf4298b5ade8f3bda8f8be15af5d6cde (diff) |
staging: comedi: comedi_test: reformat multi-line comments
Use the preferred style for multi-line comments.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/comedi_test.c | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/drivers/staging/comedi/drivers/comedi_test.c b/drivers/staging/comedi/drivers/comedi_test.c index 80d613c0fbc6..899faf71e014 100644 --- a/drivers/staging/comedi/drivers/comedi_test.c +++ b/drivers/staging/comedi/drivers/comedi_test.c | |||
@@ -1,49 +1,49 @@ | |||
1 | /* | 1 | /* |
2 | comedi/drivers/comedi_test.c | 2 | * comedi/drivers/comedi_test.c |
3 | * | ||
4 | * Generates fake waveform signals that can be read through | ||
5 | * the command interface. It does _not_ read from any board; | ||
6 | * it just generates deterministic waveforms. | ||
7 | * Useful for various testing purposes. | ||
8 | * | ||
9 | * Copyright (C) 2002 Joachim Wuttke <Joachim.Wuttke@icn.siemens.de> | ||
10 | * Copyright (C) 2002 Frank Mori Hess <fmhess@users.sourceforge.net> | ||
11 | * | ||
12 | * COMEDI - Linux Control and Measurement Device Interface | ||
13 | * Copyright (C) 2000 David A. Schleef <ds@schleef.org> | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | */ | ||
3 | 25 | ||
4 | Generates fake waveform signals that can be read through | ||
5 | the command interface. It does _not_ read from any board; | ||
6 | it just generates deterministic waveforms. | ||
7 | Useful for various testing purposes. | ||
8 | |||
9 | Copyright (C) 2002 Joachim Wuttke <Joachim.Wuttke@icn.siemens.de> | ||
10 | Copyright (C) 2002 Frank Mori Hess <fmhess@users.sourceforge.net> | ||
11 | |||
12 | COMEDI - Linux Control and Measurement Device Interface | ||
13 | Copyright (C) 2000 David A. Schleef <ds@schleef.org> | ||
14 | |||
15 | This program is free software; you can redistribute it and/or modify | ||
16 | it under the terms of the GNU General Public License as published by | ||
17 | the Free Software Foundation; either version 2 of the License, or | ||
18 | (at your option) any later version. | ||
19 | |||
20 | This program is distributed in the hope that it will be useful, | ||
21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | GNU General Public License for more details. | ||
24 | */ | ||
25 | /* | 26 | /* |
26 | Driver: comedi_test | 27 | * Driver: comedi_test |
27 | Description: generates fake waveforms | 28 | * Description: generates fake waveforms |
28 | Author: Joachim Wuttke <Joachim.Wuttke@icn.siemens.de>, Frank Mori Hess | 29 | * Author: Joachim Wuttke <Joachim.Wuttke@icn.siemens.de>, Frank Mori Hess |
29 | <fmhess@users.sourceforge.net>, ds | 30 | * <fmhess@users.sourceforge.net>, ds |
30 | Devices: | 31 | * Devices: |
31 | Status: works | 32 | * Status: works |
32 | Updated: Sat, 16 Mar 2002 17:34:48 -0800 | 33 | * Updated: Sat, 16 Mar 2002 17:34:48 -0800 |
33 | 34 | * | |
34 | This driver is mainly for testing purposes, but can also be used to | 35 | * This driver is mainly for testing purposes, but can also be used to |
35 | generate sample waveforms on systems that don't have data acquisition | 36 | * generate sample waveforms on systems that don't have data acquisition |
36 | hardware. | 37 | * hardware. |
37 | 38 | * | |
38 | Configuration options: | 39 | * Configuration options: |
39 | [0] - Amplitude in microvolts for fake waveforms (default 1 volt) | 40 | * [0] - Amplitude in microvolts for fake waveforms (default 1 volt) |
40 | [1] - Period in microseconds for fake waveforms (default 0.1 sec) | 41 | * [1] - Period in microseconds for fake waveforms (default 0.1 sec) |
41 | 42 | * | |
42 | Generates a sawtooth wave on channel 0, square wave on channel 1, additional | 43 | * Generates a sawtooth wave on channel 0, square wave on channel 1, additional |
43 | waveforms could be added to other channels (currently they return flatline | 44 | * waveforms could be added to other channels (currently they return flatline |
44 | zero volts). | 45 | * zero volts). |
45 | 46 | */ | |
46 | */ | ||
47 | 47 | ||
48 | #include <linux/module.h> | 48 | #include <linux/module.h> |
49 | #include "../comedidev.h" | 49 | #include "../comedidev.h" |
@@ -160,10 +160,10 @@ static unsigned short fake_waveform(struct comedi_device *dev, | |||
160 | } | 160 | } |
161 | 161 | ||
162 | /* | 162 | /* |
163 | This is the background routine used to generate arbitrary data. | 163 | * This is the background routine used to generate arbitrary data. |
164 | It should run in the background; therefore it is scheduled by | 164 | * It should run in the background; therefore it is scheduled by |
165 | a timer mechanism. | 165 | * a timer mechanism. |
166 | */ | 166 | */ |
167 | static void waveform_ai_interrupt(unsigned long arg) | 167 | static void waveform_ai_interrupt(unsigned long arg) |
168 | { | 168 | { |
169 | struct comedi_device *dev = (struct comedi_device *)arg; | 169 | struct comedi_device *dev = (struct comedi_device *)arg; |