Skip to content

Commit

Permalink
boards: arm: nrf52810_pca10040: Fix dts avoid_unnecessary_addr_size warn
Browse files Browse the repository at this point in the history
We get the following warning when building nrf52810_pca10040:

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

Remove #address-cells/#size-cells since they aren't needed for gpio_keys

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information
galak committed Sep 18, 2018
1 parent 873d63c commit 8acf21d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions boards/arm/nrf52810_pca10040/nrf52810_pca10040.dts
Expand Up @@ -45,8 +45,6 @@

gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
button0: button@0 {
label = "Push button switch 0";
gpios = <&gpio0 13 GPIO_PUD_PULL_UP>;
Expand Down

0 comments on commit 8acf21d

Please sign in to comment.