Commit 61a2d07d3fb1ac34d142b9b62d4cd60a0f8c229e

Authored by Niels de Vos
Committed by Linus Torvalds
1 parent 3a4b7886ee

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>

Showing 12 changed files with 16 additions and 16 deletions Side-by-side Diff

drivers/acpi/asus_acpi.c
... ... @@ -78,9 +78,9 @@
78 78 static uid_t asus_uid;
79 79 static gid_t asus_gid;
80 80 module_param(asus_uid, uint, 0);
81   -MODULE_PARM_DESC(asus_uid, "UID for entries in /proc/acpi/asus.\n");
  81 +MODULE_PARM_DESC(asus_uid, "UID for entries in /proc/acpi/asus");
82 82 module_param(asus_gid, uint, 0);
83   -MODULE_PARM_DESC(asus_gid, "GID for entries in /proc/acpi/asus.\n");
  83 +MODULE_PARM_DESC(asus_gid, "GID for entries in /proc/acpi/asus");
84 84  
85 85 /* For each model, all features implemented,
86 86 * those marked with R are relative to HOTK, A for absolute */
drivers/block/aoe/aoenet.c
... ... @@ -30,7 +30,7 @@
30 30  
31 31 static char aoe_iflist[IFLISTSZ];
32 32 module_param_string(aoe_iflist, aoe_iflist, IFLISTSZ, 0600);
33   -MODULE_PARM_DESC(aoe_iflist, "aoe_iflist=\"dev1 [dev2 ...]\"\n");
  33 +MODULE_PARM_DESC(aoe_iflist, "aoe_iflist=\"dev1 [dev2 ...]\"");
34 34  
35 35 #ifndef MODULE
36 36 static int __init aoe_iflist_setup(char *str)
drivers/gpu/drm/radeon/radeon_drv.c
... ... @@ -38,7 +38,7 @@
38 38  
39 39 int radeon_no_wb;
40 40  
41   -MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers\n");
  41 +MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers");
42 42 module_param_named(no_wb, radeon_no_wb, int, 0444);
43 43  
44 44 static int dri_library_name(struct drm_device *dev, char *buf)
drivers/infiniband/hw/ipath/ipath_iba7220.c
... ... @@ -528,7 +528,7 @@
528 528  
529 529 static char int_type[16] = "auto";
530 530 module_param_string(interrupt_type, int_type, sizeof(int_type), 0444);
531   -MODULE_PARM_DESC(int_type, " interrupt_type=auto|force_msi|force_intx\n");
  531 +MODULE_PARM_DESC(int_type, " interrupt_type=auto|force_msi|force_intx");
532 532  
533 533 /* packet rate matching delay; chip has support */
534 534 static u8 rate_to_delay[2][2] = {
drivers/media/video/cs5345.c
... ... @@ -35,7 +35,7 @@
35 35  
36 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 /* ----------------------------------------------------------------------- */
drivers/media/video/cs53l32a.c
... ... @@ -39,7 +39,7 @@
39 39  
40 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 44 static unsigned short normal_i2c[] = { 0x22 >> 1, I2C_CLIENT_END };
45 45  
drivers/media/video/mt9v022.c
... ... @@ -25,7 +25,7 @@
25 25  
26 26 static char *sensor_type;
27 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 30 /* mt9v022 selected register addresses */
31 31 #define MT9V022_CHIP_VERSION 0x00
drivers/net/netconsole.c
... ... @@ -53,7 +53,7 @@
53 53  
54 54 static char config[MAX_PARAM_LENGTH];
55 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 58 #ifndef MODULE
59 59 static int __init option_setup(char *opt)
drivers/net/tokenring/3c359.c
... ... @@ -95,20 +95,20 @@
95 95 static int ringspeed[XL_MAX_ADAPTERS] = {0,} ;
96 96  
97 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 100 /* Packet buffer size */
101 101  
102 102 static int pkt_buf_sz[XL_MAX_ADAPTERS] = {0,} ;
103 103  
104 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 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 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 113 * This is a real nasty way of doing this, but otherwise you
114 114 * will be stuck with 1555 lines of hex #'s in the code.
drivers/net/wireless/ipw2200.c
... ... @@ -11946,7 +11946,7 @@
11946 11946 MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)");
11947 11947  
11948 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 11951 module_param(debug, int, 0444);
11952 11952 MODULE_PARM_DESC(debug, "debug output mask");
drivers/net/wireless/iwlwifi/iwl-4965.c
... ... @@ -2469,7 +2469,7 @@
2469 2469 module_param_named(disable, iwl4965_mod_params.disable, int, 0444);
2470 2470 MODULE_PARM_DESC(disable, "manually disable the radio (default 0 [radio on])");
2471 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 2473 module_param_named(debug, iwl4965_mod_params.debug, int, 0444);
2474 2474 MODULE_PARM_DESC(debug, "debug output mask");
2475 2475 module_param_named(
drivers/video/matrox/matroxfb_base.c
... ... @@ -2536,7 +2536,7 @@
2536 2536 MODULE_PARM_DESC(fh, "Startup horizontal frequency, 0-999kHz, 1000-INF Hz");
2537 2537 module_param(fv, int, 0);
2538 2538 MODULE_PARM_DESC(fv, "Startup vertical frequency, 0-INF Hz\n"
2539   -"You should specify \"fv:max_monitor_vsync,fh:max_monitor_hsync,maxclk:max_monitor_dotclock\"\n");
  2539 +"You should specify \"fv:max_monitor_vsync,fh:max_monitor_hsync,maxclk:max_monitor_dotclock\"");
2540 2540 module_param(grayscale, int, 0);
2541 2541 MODULE_PARM_DESC(grayscale, "Sets display into grayscale. Works perfectly with paletized videomode (4, 8bpp), some limitations apply to 16, 24 and 32bpp videomodes (default=nograyscale)");
2542 2542 module_param(cross4MB, int, 0);