ath79: fix avoid_unnecessary_addr_size warnings
authorRosen Penev <rosenp@gmail.com>
Fri, 1 Dec 2023 20:51:58 +0000 (12:51 -0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 5 Jan 2024 15:17:57 +0000 (16:17 +0100)
Raised to dtc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/ath79/dts/ar9344_qihoo_c301.dts
target/linux/ath79/dts/ar934x.dtsi
target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi
target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts
target/linux/ath79/dts/qca955x.dtsi

index 616036fcfc957ef09cc43403d0ae0ca22799be62..bf6706716f4843bc28ddfb09dbe92e67baf62ea4 100644 (file)
        pinctrl-0 = <&pmx_spi_cs1>;
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
        };
 
        flash@1 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <1>;
                spi-max-frequency = <25000000>;
index 94dfde4125a2477344b8e24910b79a5a0a0a98b2..98cd76629f361726a6ea4f7f8383959a86dd8767 100644 (file)
 
                        nand-ecc-mode = "hw";
 
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
                        status = "disabled";
                };
 
index e7044b60a4366fe63e493e269d88d9450382299d..f17dd513e295215555cc72546ae7a8f1c30db8f5 100644 (file)
@@ -53,8 +53,6 @@
        status = "okay";
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
index 762197f255af1119cba543dba17e8e42ff4a2d5a..c3d42a8b35024f84666b38b8fb5513c07befbd2e 100644 (file)
@@ -95,8 +95,6 @@
        status = "okay";
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
index 13b051de20d2d57a1af09d39435dbe12f189ece7..c17a15c55e8f067e556c0c7d291c873510c937df 100644 (file)
 
                        nand-ecc-mode = "hw";
 
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-
                        status = "disabled";
                };