Staging: speakup: Replace symbolic permission
PATCH v4 1/1 Staging: speakup: Replace symbolic permission
Replace S_IRUGO by 0444 in module parameter declaration. 0444 is more readable and matches the style used in other declarations nearby.
Problem found using checkpatch.
Signed-off-by Meghana Madhyastha <[email protected]>
---
Changes in v2:
- Make the commit message more clearer and the title more concise
Changes in v3:
-Mention the changes below ---
Changes in v4:
-Resolve confusion over two v3 patches
drivers/staging/speakup/speakup_acntsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/speakup_acntsa.c +1 -1
@@ -136,7 +136,7 @@ static int synth_probe(struct spk_synth *synth) }module_param_named (ser, synth_acntsa.ser, int,0444 ); -module_param_named (dev, synth_acntsa.dev_name, charp,S_IRUGO ); +module_param_named (dev, synth_acntsa.dev_name, charp,0444 );module_param_named (start, synth_acntsa.startup, short,0444 );MODULE_PARM_DESC (ser,"Set the serial port for the synthesizer (0-based)." );
Signature · 1 line
2.7.4