summaryrefslogtreecommitdiff
path: root/drivers/auxdisplay/cfag12864b.c
diff options
context:
space:
mode:
authorJinchao Wang <wjc@cdjrlc.com>2021-06-26 18:15:38 +0800
committerMiguel Ojeda <ojeda@kernel.org>2021-07-16 07:42:35 +0200
commit24ebc044c72ee6e88dc902a0041bac672f012537 (patch)
tree6e292d9edf4178ee9477ae47fa846b63e116ac6c /drivers/auxdisplay/cfag12864b.c
parentf885afe28d20b66341a8f55b10367312c1d6b686 (diff)
downloadlwn-24ebc044c72ee6e88dc902a0041bac672f012537.tar.gz
lwn-24ebc044c72ee6e88dc902a0041bac672f012537.zip
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>
Diffstat (limited to 'drivers/auxdisplay/cfag12864b.c')
-rw-r--r--drivers/auxdisplay/cfag12864b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/auxdisplay/cfag12864b.c b/drivers/auxdisplay/cfag12864b.c
index fd430e6866a1..6526aa51fb1d 100644
--- a/drivers/auxdisplay/cfag12864b.c
+++ b/drivers/auxdisplay/cfag12864b.c
@@ -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)");