diff options
author | Niels de Vos <niels@nixpanic.net> | 2008-07-31 03:07:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-01 15:46:41 -0400 |
commit | 61a2d07d3fb1ac34d142b9b62d4cd60a0f8c229e (patch) | |
tree | f7ffe587767438bc0a4f4008a135e976e6264977 /drivers/media | |
parent | 3a4b7886ee59e122d359e1714ed89585a06645ad (diff) |
Remove newline from the description of module parameters
Some module parameters with only one line have the '\n' at the end of the
description. This is not needed nor wanted as after the description the
type (i.e. int) is followed by a newline.
Some modules contain a multi-line description, these are not affected
by this patch.
Signed-off-by: Niels de Vos <niels.devos@wincor-nixdorf.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: John W. Linville <linville@tuxdriver.com>
Cc: Ed L. Cashin <ecashin@coraid.com>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Roland Dreier <rolandd@cisco.com>
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/cs5345.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cs53l32a.c | 2 | ||||
-rw-r--r-- | drivers/media/video/mt9v022.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cs5345.c b/drivers/media/video/cs5345.c index 61d14d26686f..a662b15d5b90 100644 --- a/drivers/media/video/cs5345.c +++ b/drivers/media/video/cs5345.c | |||
@@ -35,7 +35,7 @@ static int debug; | |||
35 | 35 | ||
36 | module_param(debug, bool, 0644); | 36 | module_param(debug, bool, 0644); |
37 | 37 | ||
38 | MODULE_PARM_DESC(debug, "Debugging messages\n\t\t\t0=Off (default), 1=On"); | 38 | MODULE_PARM_DESC(debug, "Debugging messages, 0=Off (default), 1=On"); |
39 | 39 | ||
40 | 40 | ||
41 | /* ----------------------------------------------------------------------- */ | 41 | /* ----------------------------------------------------------------------- */ |
diff --git a/drivers/media/video/cs53l32a.c b/drivers/media/video/cs53l32a.c index e30a589c0e18..c4444500b330 100644 --- a/drivers/media/video/cs53l32a.c +++ b/drivers/media/video/cs53l32a.c | |||
@@ -39,7 +39,7 @@ static int debug; | |||
39 | 39 | ||
40 | module_param(debug, bool, 0644); | 40 | module_param(debug, bool, 0644); |
41 | 41 | ||
42 | MODULE_PARM_DESC(debug, "Debugging messages\n\t\t\t0=Off (default), 1=On"); | 42 | MODULE_PARM_DESC(debug, "Debugging messages, 0=Off (default), 1=On"); |
43 | 43 | ||
44 | static unsigned short normal_i2c[] = { 0x22 >> 1, I2C_CLIENT_END }; | 44 | static unsigned short normal_i2c[] = { 0x22 >> 1, I2C_CLIENT_END }; |
45 | 45 | ||
diff --git a/drivers/media/video/mt9v022.c b/drivers/media/video/mt9v022.c index b31ba4e09327..56808cd2f8a9 100644 --- a/drivers/media/video/mt9v022.c +++ b/drivers/media/video/mt9v022.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | static char *sensor_type; | 26 | static char *sensor_type; |
27 | module_param(sensor_type, charp, S_IRUGO); | 27 | module_param(sensor_type, charp, S_IRUGO); |
28 | MODULE_PARM_DESC(sensor_type, "Sensor type: \"colour\" or \"monochrome\"\n"); | 28 | MODULE_PARM_DESC(sensor_type, "Sensor type: \"colour\" or \"monochrome\""); |
29 | 29 | ||
30 | /* mt9v022 selected register addresses */ | 30 | /* mt9v022 selected register addresses */ |
31 | #define MT9V022_CHIP_VERSION 0x00 | 31 | #define MT9V022_CHIP_VERSION 0x00 |