diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-09-14 13:50:54 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-14 18:16:34 +0300 |
commit | 39916bb45f9e233d6df8ee478c539b100116a34a (patch) | |
tree | b2261b42071505cb7e079697d7a4f4c9d7f92b8c /arch/sandbox | |
parent | 9ea0a1ee9309054102e61a29e746db672494d385 (diff) | |
download | u-boot-39916bb45f9e233d6df8ee478c539b100116a34a.tar.xz |
test: sharpen button label unit test
Using different strings for the device tree node labels and the label
property of buttons sharpens the button label unit test.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/dts/sandbox.dtsi | 8 | ||||
-rw-r--r-- | arch/sandbox/dts/test.dts | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi index c76ecc013c..0faad3f319 100644 --- a/arch/sandbox/dts/sandbox.dtsi +++ b/arch/sandbox/dts/sandbox.dtsi @@ -18,14 +18,14 @@ buttons { compatible = "gpio-keys"; - summer { + btn1 { gpios = <&gpio_a 3 0>; - label = "summer"; + label = "button1"; }; - christmas { + btn2 { gpios = <&gpio_a 4 0>; - label = "christmas"; + label = "button2"; }; }; diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index c7d1376911..fa84b2c10f 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -55,14 +55,14 @@ buttons { compatible = "gpio-keys"; - summer { + btn1 { gpios = <&gpio_a 3 0>; - label = "summer"; + label = "button1"; }; - christmas { + btn2 { gpios = <&gpio_a 4 0>; - label = "christmas"; + label = "button2"; }; }; |