diff options
author | Antony Pavlov <[email protected]> | 2016-03-17 06:34:12 +0300 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2016-05-13 14:01:45 +0200 |
commit | 83fe838466ec9bfcba4f477656cb9a67172d2c29 (patch) | |
tree | 488742c441466f2dbcef721a32cd3ba49d6f7237 /arch/mips/ath79/clock.c | |
parent | 2cdfec1bbb0a093836f6a471ca15e4e26f8b6401 (diff) |
MIPS: dts: qca: ar9132: use short references for dt nodes
Here are some Sascha Hauer's arguments for using aliases in the dts
files:
- using aliases reduces the number of indentations in dts files;
- dts files become independent of the layout of the dtsi files
(it becomes possible to introduce another bus {} hierarchy between
a toplevel bus and the devices when you have to);
- less chances for typos. if &i2c2 does not exist you get an error.
If instead you duplicate the whole path in the dts file a typo
in the path will just create another node.
Signed-off-by: Antony Pavlov <[email protected]>
Cc: Alban Bedel <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Frank Rowand <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12873/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'arch/mips/ath79/clock.c')
0 files changed, 0 insertions, 0 deletions