Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

auxdisplay: Replace symbolic permissions with octal permissions

Resolves the checkpatch warning.

Signed-off-by: Jinchao Wang <wjc@cdjrlc.com>
[edited wording]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

authored by

Jinchao Wang and committed by
Miguel Ojeda
24ebc044 f885afe2

+3 -3
+1 -1
drivers/auxdisplay/cfag12864b.c
··· 33 33 */ 34 34 35 35 static unsigned int cfag12864b_rate = CONFIG_CFAG12864B_RATE; 36 - module_param(cfag12864b_rate, uint, S_IRUGO); 36 + module_param(cfag12864b_rate, uint, 0444); 37 37 MODULE_PARM_DESC(cfag12864b_rate, 38 38 "Refresh rate (hertz)"); 39 39
+2 -2
drivers/auxdisplay/ks0108.c
··· 28 28 */ 29 29 30 30 static unsigned int ks0108_port = CONFIG_KS0108_PORT; 31 - module_param(ks0108_port, uint, S_IRUGO); 31 + module_param(ks0108_port, uint, 0444); 32 32 MODULE_PARM_DESC(ks0108_port, "Parallel port where the LCD is connected"); 33 33 34 34 static unsigned int ks0108_delay = CONFIG_KS0108_DELAY; 35 - module_param(ks0108_delay, uint, S_IRUGO); 35 + module_param(ks0108_delay, uint, 0444); 36 36 MODULE_PARM_DESC(ks0108_delay, "Delay between each control writing (microseconds)"); 37 37 38 38 /*