diff options
author | Derek Robson <robsonde@gmail.com> | 2017-01-28 19:35:01 +1300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-31 09:30:58 +0100 |
commit | 73c3700e86ab1d82b62b43ec24d12777e06935af (patch) | |
tree | 0bf0945b394e185e00e905e9eede66a004de6a2e /drivers/staging/speakup/speakup.h | |
parent | 63d8d50ce356687e0cac575335a9068ddc229b76 (diff) | |
download | linux-73c3700e86ab1d82b62b43ec24d12777e06935af.tar.bz2 |
Staging: speakup - syle fix permissions to octal
A style fix across whole driver.
changed permissions to octal style, found using checkpatch
Signed-off-by: Derek Robson <robsonde@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/speakup.h')
-rw-r--r-- | drivers/staging/speakup/speakup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/speakup/speakup.h b/drivers/staging/speakup/speakup.h index df74c912da72..d5bd9b0a5c95 100644 --- a/drivers/staging/speakup/speakup.h +++ b/drivers/staging/speakup/speakup.h @@ -10,8 +10,8 @@ #define MAX_DESC_LEN 72 /* proc permissions */ -#define USER_R (S_IFREG|S_IRUGO) -#define USER_W (S_IFREG|S_IWUGO) +#define USER_R (S_IFREG | 0444) +#define USER_W (S_IFREG | 0666) #define TOGGLE_0 .u.n = {NULL, 0, 0, 1, 0, 0, NULL } #define TOGGLE_1 .u.n = {NULL, 1, 0, 1, 0, 0, NULL } |