Skip to content

Commit

Permalink
auxdisplay: Replace symbolic permissions with octal permissions
Browse files Browse the repository at this point in the history
Resolves the checkpatch warning.

Signed-off-by: Jinchao Wang <wjc@cdjrlc.com>
[edited wording]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
  • Loading branch information
Jinchao Wang authored and Miguel Ojeda committed Jul 16, 2021
1 parent f885afe commit 24ebc04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/auxdisplay/cfag12864b.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/

static unsigned int cfag12864b_rate = CONFIG_CFAG12864B_RATE;
module_param(cfag12864b_rate, uint, S_IRUGO);
module_param(cfag12864b_rate, uint, 0444);
MODULE_PARM_DESC(cfag12864b_rate,
"Refresh rate (hertz)");

Expand Down
4 changes: 2 additions & 2 deletions drivers/auxdisplay/ks0108.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
*/

static unsigned int ks0108_port = CONFIG_KS0108_PORT;
module_param(ks0108_port, uint, S_IRUGO);
module_param(ks0108_port, uint, 0444);
MODULE_PARM_DESC(ks0108_port, "Parallel port where the LCD is connected");

static unsigned int ks0108_delay = CONFIG_KS0108_DELAY;
module_param(ks0108_delay, uint, S_IRUGO);
module_param(ks0108_delay, uint, 0444);
MODULE_PARM_DESC(ks0108_delay, "Delay between each control writing (microseconds)");

/*
Expand Down

0 comments on commit 24ebc04

Please sign in to comment.