summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/garmin_gps.c
diff options
context:
space:
mode:
authorUtkarsh Verma <utkarshverma294@gmail.com>2021-08-25 21:53:02 +0530
committerJohan Hovold <johan@kernel.org>2021-08-26 09:38:27 +0200
commita65ab973c1669d3edc27719527bb3906f7b09918 (patch)
tree8ca536e57be990af107f523bdc13b6fc3b311cc0 /drivers/usb/serial/garmin_gps.c
parent4e9340bb551a5ad664196465ba7620009d835dbc (diff)
downloadlinux-a65ab973c1669d3edc27719527bb3906f7b09918.tar.gz
linux-a65ab973c1669d3edc27719527bb3906f7b09918.tar.bz2
linux-a65ab973c1669d3edc27719527bb3906f7b09918.zip
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/garmin_gps.c')
-rw-r--r--drivers/usb/serial/garmin_gps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/garmin_gps.c b/drivers/usb/serial/garmin_gps.c
index 756d1ac7e96f..e5c75944ebb7 100644
--- a/drivers/usb/serial/garmin_gps.c
+++ b/drivers/usb/serial/garmin_gps.c
@@ -1444,5 +1444,5 @@ MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");
-module_param(initial_mode, int, S_IRUGO);
+module_param(initial_mode, int, 0444);
MODULE_PARM_DESC(initial_mode, "Initial mode");