remoteproc/davinci: use octal permissions for module_param()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 2 May 2018 09:56:59 +0000 (11:56 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 9 May 2018 21:31:00 +0000 (14:31 -0700)
Checkpatch recommends to use octal perms instead of S_IRUGO.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/da8xx_remoteproc.c

index f134192922e086423e22c0b1721159da809c4981..b668e32996e215bd474f0e0d2060bdf80c13c573 100644 (file)
@@ -25,7 +25,7 @@
 #include "remoteproc_internal.h"
 
 static char *da8xx_fw_name;
-module_param(da8xx_fw_name, charp, S_IRUGO);
+module_param(da8xx_fw_name, charp, 0444);
 MODULE_PARM_DESC(da8xx_fw_name,
                 "Name of DSP firmware file in /lib/firmware (if not specified defaults to 'rproc-dsp-fw')");