Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1736950

[PATCH 04/12] ARM: dts: nanopi: Fix node with unit name and no reg property

From Corentin Labbe <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 04/12] ARM: dts: nanopi: Fix node with unit name and no reg property
Date 2017-09-21 19:30 +0200
Message-ID <usdsu-3Vx-27@gated-at.bofh.it> (permalink)
References <usdst-3Vx-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch fix the warning "xxx has a unit name, but no reg property" by
removing "@0" from such node.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
 arch/arm/boot/dts/sun8i-h3-nanopi.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi b/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi
index c6decee41a27..7646e331bd29 100644
--- a/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi
@@ -81,7 +81,7 @@
 		pinctrl-names = "default";
 		pinctrl-0 = <&sw_r_npi>;
 
-		k1@0 {
+		k1 {
 			label = "k1";
 			linux,code = <KEY_POWER>;
 			gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
@@ -108,19 +108,19 @@
 };
 
 &pio {
-	leds_npi: led_pins@0 {
+	leds_npi: led_pins {
 		pins = "PA10";
 		function = "gpio_out";
 	};
 };
 
 &r_pio {
-	leds_r_npi: led_pins@0 {
+	leds_r_npi: led_pins {
 		pins = "PL10";
 		function = "gpio_out";
 	};
 
-	sw_r_npi: key_pins@0 {
+	sw_r_npi: key_pins {
 		pins = "PL3";
 		function = "gpio_in";
 	};
-- 
2.13.5

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/12] ARM: dts: sunxi: Fix DT build warnings Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 10/12] arm64: allwinner: a64: Fix simple-bus unit address format error Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 03/12] ARM: dts: sunxi: h3/h5: Fix node with unit name and no reg property Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 11/12] arm64: allwinner: a64: Fix node with unit name and no reg property Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 07/12] ARM: dts: sun8i: orangepi one: Fix node with unit name and no reg property Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 04/12] ARM: dts: nanopi: Fix node with unit name and no reg property Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 09/12] ARM: dts: sun8i: orangepi-plus: Fix node with unit name and no reg property Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 05/12] ARM: dts: orangepi2: Fix node with unit name and no reg property Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 01/12] ARM: dts: sunxi: h3/h5: Fix simple-bus unit address format error Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 12/12] ARM: sun8i: a83t: Fix simple-bus unit address format error Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 08/12] ARM: dts: sun8i: orangepipc: Fix node with unit name and no reg property Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
  [PATCH 02/12] ARM: dts: sunxi: h3/h5: Fix i2c2 register address Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-21 19:30 +0200
    Re: [PATCH 02/12] ARM: dts: sunxi: h3/h5: Fix i2c2 register address Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-09-22 09:50 +0200
      Re: [PATCH 02/12] ARM: dts: sunxi: h3/h5: Fix i2c2 register address Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-22 10:10 +0200

csiph-web