[PATCH] Staging: sm750fb: sm750.c - style fix

From: Derek Robson
Date: Sun Feb 12 2017 - 02:14:35 EST


Change permissions to octal style.
Found using checkpatch

Signed-off-by: Derek Robson <robsonde@xxxxxxxxx>
---
drivers/staging/sm750fb/sm750.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index ee741c012b92..e49f8845f923 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -1229,7 +1229,7 @@ static void __exit lynxfb_exit(void)
}
module_exit(lynxfb_exit);

-module_param(g_option, charp, S_IRUGO);
+module_param(g_option, charp, 0444);

MODULE_PARM_DESC(g_option,
"\n\t\tCommon options:\n"
--
2.11.1