linux/arch/powerpc/platforms/83xx
Russell Currey 57ad583f20 powerpc: Use octal numbers for file permissions
Symbolic macros are unintuitive and hard to read, whereas octal constants
are much easier to interpret.  Replace macros for the basic permission
flags (user/group/other read/write/execute) with numeric constants
instead, across the whole powerpc tree.

Introducing a significant number of changes across the tree for no runtime
benefit isn't exactly desirable, but so long as these macros are still
used in the tree people will keep sending patches that add them.  Not only
are they hard to parse at a glance, there are multiple ways of coming to
the same value (as you can see with 0444 and 0644 in this patch) which
hurts readability.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-01-22 05:48:33 +11:00
..
asp834x.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
km83xx.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mcu_mpc8349emitx.c powerpc: Use octal numbers for file permissions 2018-01-22 05:48:33 +11:00
misc.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc83xx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpc830x_rdb.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc831x_rdb.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc832x_mds.c powerpc: Use of for_each_node_by_name() instead of open-coding it 2017-12-04 13:10:59 +11:00
mpc832x_rdb.c powerpc: Use of for_each_node_by_name() instead of open-coding it 2017-12-04 13:10:59 +11:00
mpc834x_itx.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc834x_mds.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc836x_mds.c powerpc: Use of for_each_node_by_name() instead of open-coding it 2017-12-04 13:10:59 +11:00
mpc836x_rdk.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc837x_mds.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
mpc837x_rdb.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
sbc834x.c powerpc/83xx: factor out the common codes of setup arch functions 2016-09-25 02:38:53 -05:00
suspend-asm.S tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
suspend.c powerpc/83xx: Use sizeof correct type when ioremapping 2017-08-31 14:26:05 +10:00
usb.c PowerPC-83xx: Deletion of an unnecessary check before the function call "of_node_put" 2015-01-29 23:16:19 -06:00