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 <meghana.madhyastha@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
322e704979
commit
a33adacd64
|
@ -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).");
|
||||
|
|
Loading…
Reference in New Issue