summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/sierra.c
diff options
context:
space:
mode:
authorUtkarsh Verma <utkarshverma294@gmail.com>2021-08-25 19:23:02 +0300
committerJohan Hovold <johan@kernel.org>2021-08-26 10:38:27 +0300
commita65ab973c1669d3edc27719527bb3906f7b09918 (patch)
tree8ca536e57be990af107f523bdc13b6fc3b311cc0 /drivers/usb/serial/sierra.c
parent4e9340bb551a5ad664196465ba7620009d835dbc (diff)
downloadlinux-a65ab973c1669d3edc27719527bb3906f7b09918.tar.xz
USB: serial: replace symbolic permissions by octal permissions
Replace symbolic permission macros with octal permission numbers because octal permission numbers are easier to read and understand instead of their symbolic macro names. No functional change. Suggested-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: Utkarsh Verma <utkarshverma294@gmail.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/sierra.c')
-rw-r--r--drivers/usb/serial/sierra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c
index 4b49b7c33364..9d56138133a9 100644
--- a/drivers/usb/serial/sierra.c
+++ b/drivers/usb/serial/sierra.c
@@ -1056,5 +1056,5 @@ MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL v2");
-module_param(nmea, bool, S_IRUGO | S_IWUSR);
+module_param(nmea, bool, 0644);
MODULE_PARM_DESC(nmea, "NMEA streaming");