diff options
author | Joe Perches <joe@perches.com> | 2018-03-23 18:54:37 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-03-27 04:01:13 -0400 |
commit | 2ef00c53049b6a8758d118188992da01d75f3628 (patch) | |
tree | f7eb61964d5504c7d5c8bc7f675fd1fe810eb7f9 /drivers/net/wireless/intel/iwlegacy/common.c | |
parent | 255dd5b79d5474dad3ecebe99be7818684921abd (diff) |
wireless: Use octal not symbolic permissions
Prefer the direct use of octal for permissions.
Done with checkpatch -f --types=SYMBOLIC_PERMS --fix-inplace
and some typing.
Miscellanea:
o Whitespace neatening around these conversions.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/intel/iwlegacy/common.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlegacy/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/intel/iwlegacy/common.c b/drivers/net/wireless/intel/iwlegacy/common.c index 558bb16bfd46..063e19ced7c8 100644 --- a/drivers/net/wireless/intel/iwlegacy/common.c +++ b/drivers/net/wireless/intel/iwlegacy/common.c | |||
@@ -435,7 +435,7 @@ EXPORT_SYMBOL(il_send_cmd_pdu_async); | |||
435 | 435 | ||
436 | /* default: IL_LED_BLINK(0) using blinking idx table */ | 436 | /* default: IL_LED_BLINK(0) using blinking idx table */ |
437 | static int led_mode; | 437 | static int led_mode; |
438 | module_param(led_mode, int, S_IRUGO); | 438 | module_param(led_mode, int, 0444); |
439 | MODULE_PARM_DESC(led_mode, | 439 | MODULE_PARM_DESC(led_mode, |
440 | "0=system default, " "1=On(RF On)/Off(RF Off), 2=blinking"); | 440 | "0=system default, " "1=On(RF On)/Off(RF Off), 2=blinking"); |
441 | 441 | ||
@@ -3372,7 +3372,7 @@ MODULE_LICENSE("GPL"); | |||
3372 | * default: bt_coex_active = true (BT_COEX_ENABLE) | 3372 | * default: bt_coex_active = true (BT_COEX_ENABLE) |
3373 | */ | 3373 | */ |
3374 | static bool bt_coex_active = true; | 3374 | static bool bt_coex_active = true; |
3375 | module_param(bt_coex_active, bool, S_IRUGO); | 3375 | module_param(bt_coex_active, bool, 0444); |
3376 | MODULE_PARM_DESC(bt_coex_active, "enable wifi/bluetooth co-exist"); | 3376 | MODULE_PARM_DESC(bt_coex_active, "enable wifi/bluetooth co-exist"); |
3377 | 3377 | ||
3378 | u32 il_debug_level; | 3378 | u32 il_debug_level; |