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/net | |
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/net')
-rw-r--r-- | drivers/net/netconsole.c | 2 | ||||
-rw-r--r-- | drivers/net/tokenring/3c359.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index e13966bb5f77..9681618c3232 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c | |||
@@ -53,7 +53,7 @@ MODULE_LICENSE("GPL"); | |||
53 | 53 | ||
54 | static char config[MAX_PARAM_LENGTH]; | 54 | static char config[MAX_PARAM_LENGTH]; |
55 | module_param_string(netconsole, config, MAX_PARAM_LENGTH, 0); | 55 | module_param_string(netconsole, config, MAX_PARAM_LENGTH, 0); |
56 | MODULE_PARM_DESC(netconsole, " netconsole=[src-port]@[src-ip]/[dev],[tgt-port]@<tgt-ip>/[tgt-macaddr]\n"); | 56 | MODULE_PARM_DESC(netconsole, " netconsole=[src-port]@[src-ip]/[dev],[tgt-port]@<tgt-ip>/[tgt-macaddr]"); |
57 | 57 | ||
58 | #ifndef MODULE | 58 | #ifndef MODULE |
59 | static int __init option_setup(char *opt) | 59 | static int __init option_setup(char *opt) |
diff --git a/drivers/net/tokenring/3c359.c b/drivers/net/tokenring/3c359.c index 7766cde0d63d..bf621328b601 100644 --- a/drivers/net/tokenring/3c359.c +++ b/drivers/net/tokenring/3c359.c | |||
@@ -95,20 +95,20 @@ MODULE_DESCRIPTION("3Com 3C359 Velocity XL Token Ring Adapter Driver \n") ; | |||
95 | static int ringspeed[XL_MAX_ADAPTERS] = {0,} ; | 95 | static int ringspeed[XL_MAX_ADAPTERS] = {0,} ; |
96 | 96 | ||
97 | module_param_array(ringspeed, int, NULL, 0); | 97 | module_param_array(ringspeed, int, NULL, 0); |
98 | MODULE_PARM_DESC(ringspeed,"3c359: Ringspeed selection - 4,16 or 0") ; | 98 | MODULE_PARM_DESC(ringspeed,"3c359: Ringspeed selection - 4,16 or 0") ; |
99 | 99 | ||
100 | /* Packet buffer size */ | 100 | /* Packet buffer size */ |
101 | 101 | ||
102 | static int pkt_buf_sz[XL_MAX_ADAPTERS] = {0,} ; | 102 | static int pkt_buf_sz[XL_MAX_ADAPTERS] = {0,} ; |
103 | 103 | ||
104 | module_param_array(pkt_buf_sz, int, NULL, 0) ; | 104 | module_param_array(pkt_buf_sz, int, NULL, 0) ; |
105 | MODULE_PARM_DESC(pkt_buf_sz,"3c359: Initial buffer size") ; | 105 | MODULE_PARM_DESC(pkt_buf_sz,"3c359: Initial buffer size") ; |
106 | /* Message Level */ | 106 | /* Message Level */ |
107 | 107 | ||
108 | static int message_level[XL_MAX_ADAPTERS] = {0,} ; | 108 | static int message_level[XL_MAX_ADAPTERS] = {0,} ; |
109 | 109 | ||
110 | module_param_array(message_level, int, NULL, 0) ; | 110 | module_param_array(message_level, int, NULL, 0) ; |
111 | MODULE_PARM_DESC(message_level, "3c359: Level of reported messages \n") ; | 111 | MODULE_PARM_DESC(message_level, "3c359: Level of reported messages") ; |
112 | /* | 112 | /* |
113 | * This is a real nasty way of doing this, but otherwise you | 113 | * This is a real nasty way of doing this, but otherwise you |
114 | * will be stuck with 1555 lines of hex #'s in the code. | 114 | * will be stuck with 1555 lines of hex #'s in the code. |
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 1acfbcd3703c..846a7d051851 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -11946,7 +11946,7 @@ module_param(auto_create, int, 0444); | |||
11946 | MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)"); | 11946 | MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)"); |
11947 | 11947 | ||
11948 | module_param(led, int, 0444); | 11948 | module_param(led, int, 0444); |
11949 | MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n"); | 11949 | MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)"); |
11950 | 11950 | ||
11951 | module_param(debug, int, 0444); | 11951 | module_param(debug, int, 0444); |
11952 | MODULE_PARM_DESC(debug, "debug output mask"); | 11952 | MODULE_PARM_DESC(debug, "debug output mask"); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 9afecb813716..ba2df1ba32d2 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2469,7 +2469,7 @@ MODULE_PARM_DESC(antenna, "select antenna (1=Main, 2=Aux, default 0 [both])"); | |||
2469 | module_param_named(disable, iwl4965_mod_params.disable, int, 0444); | 2469 | module_param_named(disable, iwl4965_mod_params.disable, int, 0444); |
2470 | MODULE_PARM_DESC(disable, "manually disable the radio (default 0 [radio on])"); | 2470 | MODULE_PARM_DESC(disable, "manually disable the radio (default 0 [radio on])"); |
2471 | module_param_named(swcrypto, iwl4965_mod_params.sw_crypto, int, 0444); | 2471 | module_param_named(swcrypto, iwl4965_mod_params.sw_crypto, int, 0444); |
2472 | MODULE_PARM_DESC(swcrypto, "using crypto in software (default 0 [hardware])\n"); | 2472 | MODULE_PARM_DESC(swcrypto, "using crypto in software (default 0 [hardware])"); |
2473 | module_param_named(debug, iwl4965_mod_params.debug, int, 0444); | 2473 | module_param_named(debug, iwl4965_mod_params.debug, int, 0444); |
2474 | MODULE_PARM_DESC(debug, "debug output mask"); | 2474 | MODULE_PARM_DESC(debug, "debug output mask"); |
2475 | module_param_named( | 2475 | module_param_named( |