]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: bcm2835-rpi: Drop unnecessary #address-cells/#size-cells
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 30 Dec 2018 11:07:16 +0000 (12:07 +0100)
committerStefan Wahren <stefan.wahren@i2se.com>
Fri, 1 Feb 2019 10:55:22 +0000 (11:55 +0100)
Compiling the bcm2835-rpi.dtsi with W=1 leads to the following warning:

Warning (avoid_unnecessary_addr_size): /soc/firmware: unnecessary
 #address-cells/#size-cells without "ranges" or child "reg" property

Fix this by removing these unnecessary properties.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
arch/arm/boot/dts/bcm2835-rpi.dtsi

index a8b175a9e229e4f46e531c4856a7f2609eb1c8f6..9d11cb759b5bae32c13a77f116cc06895b86758b 100644 (file)
@@ -19,8 +19,6 @@ act {
        soc {
                firmware: firmware {
                        compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
-                       #address-cells = <0>;
-                       #size-cells = <0>;
                        mboxes = <&mailbox>;
                };