diff options
author | Utkarsh Verma <utkarshverma294@gmail.com> | 2021-08-25 21:53:02 +0530 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2021-08-26 09:38:27 +0200 |
commit | a65ab973c1669d3edc27719527bb3906f7b09918 (patch) | |
tree | 8ca536e57be990af107f523bdc13b6fc3b311cc0 /drivers/usb/serial/garmin_gps.c | |
parent | 4e9340bb551a5ad664196465ba7620009d835dbc (diff) | |
download | linux-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.c | 2 |
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"); |