diff options
author | Joe Perches <joe@perches.com> | 2018-03-23 18:54:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-26 12:07:49 -0400 |
commit | d61e40385655fbba659fc3d81df9bdf1b848e263 (patch) | |
tree | 434dfc436eae37889fa25c484c310ce05952269a /drivers/net/can/spi/mcp251x.c | |
parent | d6444062f8f07c346a21bd815af4a3dc8b231574 (diff) |
drivers/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 <joe@perches.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/spi/mcp251x.c')
-rw-r--r-- | drivers/net/can/spi/mcp251x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/spi/mcp251x.c b/drivers/net/can/spi/mcp251x.c index 98d118b3aaf4..e90817608645 100644 --- a/drivers/net/can/spi/mcp251x.c +++ b/drivers/net/can/spi/mcp251x.c | |||
@@ -220,7 +220,7 @@ | |||
220 | #define DEVICE_NAME "mcp251x" | 220 | #define DEVICE_NAME "mcp251x" |
221 | 221 | ||
222 | static int mcp251x_enable_dma; /* Enable SPI DMA. Default: 0 (Off) */ | 222 | static int mcp251x_enable_dma; /* Enable SPI DMA. Default: 0 (Off) */ |
223 | module_param(mcp251x_enable_dma, int, S_IRUGO); | 223 | module_param(mcp251x_enable_dma, int, 0444); |
224 | MODULE_PARM_DESC(mcp251x_enable_dma, "Enable SPI DMA. Default: 0 (Off)"); | 224 | MODULE_PARM_DESC(mcp251x_enable_dma, "Enable SPI DMA. Default: 0 (Off)"); |
225 | 225 | ||
226 | static const struct can_bittiming_const mcp251x_bittiming_const = { | 226 | static const struct can_bittiming_const mcp251x_bittiming_const = { |