aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/speakup_dummy.c
diff options
context:
space:
mode:
authorMihaela Muraru <mihaela.muraru21@gmail.com>2017-09-24 11:49:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-28 11:25:26 +0200
commitb5a603dee866a6af1ff8cb8dabd71795c5e6cb42 (patch)
treeee37af4094d94e68dabf5bb7916863da0b221aaf /drivers/staging/speakup/speakup_dummy.c
parentstaging: unisys: visornic: clean up parenthesis (diff)
downloadlinux-dev-b5a603dee866a6af1ff8cb8dabd71795c5e6cb42.tar.xz
linux-dev-b5a603dee866a6af1ff8cb8dabd71795c5e6cb42.zip
staging: speakup: Use octal permissions '0444'
Fixed the following checkpatch warning: WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. Signed-off-by: Mihaela Muraru <mihaela.muraru21@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/speakup_dummy.c')
-rw-r--r--drivers/staging/speakup/speakup_dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/speakup_dummy.c b/drivers/staging/speakup/speakup_dummy.c
index 851953d5eefb..ea3b2911cab9 100644
--- a/drivers/staging/speakup/speakup_dummy.c
+++ b/drivers/staging/speakup/speakup_dummy.c
@@ -122,7 +122,7 @@ static struct spk_synth synth_dummy = {
};
module_param_named(ser, synth_dummy.ser, int, 0444);
-module_param_named(dev, synth_dummy.dev_name, charp, S_IRUGO);
+module_param_named(dev, synth_dummy.dev_name, charp, 0444);
module_param_named(start, synth_dummy.startup, short, 0444);
MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");