mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
net: 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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
cb6219a2f5
commit
d6444062f8
63 changed files with 161 additions and 161 deletions
|
|
@ -210,8 +210,8 @@ static ssize_t show_channel(struct device *tty_dev, struct device_attribute *att
|
|||
return sprintf(buf, "%d\n", dev->channel);
|
||||
}
|
||||
|
||||
static DEVICE_ATTR(address, S_IRUGO, show_address, NULL);
|
||||
static DEVICE_ATTR(channel, S_IRUGO, show_channel, NULL);
|
||||
static DEVICE_ATTR(address, 0444, show_address, NULL);
|
||||
static DEVICE_ATTR(channel, 0444, show_channel, NULL);
|
||||
|
||||
static struct rfcomm_dev *__rfcomm_dev_add(struct rfcomm_dev_req *req,
|
||||
struct rfcomm_dlc *dlc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue