Staging: sm750fb: sm750.c - style fix
authorDerek Robson <robsonde@gmail.com>
Sun, 12 Feb 2017 07:13:42 +0000 (20:13 +1300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Feb 2017 12:22:08 +0000 (13:22 +0100)
Change permissions to octal style.
Found using checkpatch

Signed-off-by: Derek Robson <robsonde@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c

index ee741c012b9257912872557cff0edf1216b5b07b..e49f8845f9239fd5cc2cc24cfe413a38be3a7d08 100644 (file)
@@ -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"