summaryrefslogtreecommitdiffstats
path: root/drivers/of/unittest-data/overlay_13.dtso
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2023-07-28 10:50:36 +0200
committerRob Herring <robh@kernel.org>2023-08-24 03:04:17 +0200
commit121b83eaddde76cf5c49f9b4bd5b1b67c77b1c88 (patch)
tree529ab21513e0f6825b36343c9e063f7b9e8140bb /drivers/of/unittest-data/overlay_13.dtso
parentof: overlay: unittest: Add test for unresolved symbol (diff)
downloadlinux-121b83eaddde76cf5c49f9b4bd5b1b67c77b1c88.tar.xz
linux-121b83eaddde76cf5c49f9b4bd5b1b67c77b1c88.zip
of: unittest-data: Convert remaining overlay DTS files to sugar syntax
Overlay syntactic sugar for generating target-path fragments is supported by the version of dtc supplied with the kernel since commit 50aafd60898a8b3e ("scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc"). Hence convert the remaining unittest overlay devicetree source files to sugar syntax, improving readability. This completes the work started in commit db2f3762d609318e ("of: convert unittest overlay devicetree source to sugar syntax"). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/9b5991c85e5a2a7cdf33a4e59b42ef98eaadd98a.1690533838.git.geert+renesas@glider.be Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/unittest-data/overlay_13.dtso')
-rw-r--r--drivers/of/unittest-data/overlay_13.dtso11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/of/unittest-data/overlay_13.dtso b/drivers/of/unittest-data/overlay_13.dtso
index 3c30dec63894..da200ae94f45 100644
--- a/drivers/of/unittest-data/overlay_13.dtso
+++ b/drivers/of/unittest-data/overlay_13.dtso
@@ -2,13 +2,8 @@
/dts-v1/;
/plugin/;
-/ {
- /* overlay_13 - disable using absolute target path (i2c) */
+/* overlay_13 - disable using absolute target path (i2c) */
- fragment@0 {
- target-path = "/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13";
- __overlay__ {
- status = "disabled";
- };
- };
+&{/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13} {
+ status = "disabled";
};