From patchwork Fri Sep 22 18:40:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9966895 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8AEDB6020C for ; Fri, 22 Sep 2017 18:56:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7BCBE29987 for ; Fri, 22 Sep 2017 18:56:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 66126299CF; Fri, 22 Sep 2017 18:56:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 018DF299B7 for ; Fri, 22 Sep 2017 18:56:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hKOP5iw+DgaQtziQjk6l0ot/FcHiWbgo2Us3dTSFRJU=; b=Lkhd4mwqaE37YQXJS9RtPSmh6N jEM+llQ2yg7ZQ5wwwvucWEtoedy06it57E6QQ9P6M4KbptifF4nNZrgR3MzSVL9cUIYrTkt1szF5N TTrkD2OAKCU1gPs/DQ4QgVlsg974NfQnlMgsS96DT9WpUKdprDubhD/Dl5syV1RNH6z6RgzHV5MJ4 WvZGcgjGiKQXJrahmBa/H30pvB9YilbaYTkuS37rFjxqdiJVrZc+vVhakrBc1UUdHvFOY9rgAQhZl I3Q5R5fdzCaHitOo6H2ZLzI+V5a10N1e7HfzZqOm37gmPBmhRonssuSD5NjbLSLmKEbY7YKV2t71t m5mXmYxA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dvT7N-00056R-4Q; Fri, 22 Sep 2017 18:56:05 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dvSv1-0004Rl-QX for linux-arm-kernel@lists.infradead.org; Fri, 22 Sep 2017 18:43:32 +0000 Received: by mail-wm0-x242.google.com with SMTP id r136so2030765wmf.3 for ; Fri, 22 Sep 2017 11:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jHgnvI82fhLGBeri8aBjg9ab73rfBCO0P8omXzvbfak=; b=NUUFgiv91t/VAtMH5ReV2pANb5dxQxGB4B8C2UpSZPH5tocxAhXhowy5UtAAxvYNh4 OgcP0FgIzMEoKDaaGLTzex5jPloRhdxhSZ1fsWrdB89tFDQm87tp4KZaaUl+fspmc3V4 tVyNpURaiez/cC46ioLXTz5wDhOHvwXRWb+p4AxzO0IERMI0IUiG2s+TcbMN7xKa5cnx /0BLhg/jo2qwwRzgLGF57opxAvwTnaq0uWO/yK5fIg7qSTKDwYPUg9z/DTwU82ajedJX 6qITHsFNvohl068cRvj6i2eEqXthZ1mNwYDxOhlbCxJeDcuw7K/4mRXkY8iKFndIRGjO BHLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jHgnvI82fhLGBeri8aBjg9ab73rfBCO0P8omXzvbfak=; b=QvGOYXwBODMSC06gjnOZU1Saupp4D1UaYgUNKnyYObQfTrbYvivd/cuEuTFCwR2fbw fOb+1etI0m0x9mlhjYF0CRZPHdgogiunl6OO9w2gKJ2IMXYfhbKwc6/x3XsPcqjQb0A0 jrurRD523AhczzTtOUIqEye9xOMyBfO2lzQaRrKyDENtnXx1x6NK1AlD5RtM848TwGvk dFnk5KvNt/RZS4s2bz9if3PzbX+Tfw8JW09I8tPPe5CH7f2eDO4HEgyYNF/nJ0jGQ2iL UtFbeiajt09hdrUO74CINwfY0vGshRFAyi8/rA5QFQ1qgYlsGTUl+mXMF35xJ0RGD9p0 wnMQ== X-Gm-Message-State: AHPjjUjJ25iBNHAjYvJe4BXwBsZDNQJr5vq3E3viUJTCYRX1bKSk0XJH /HbuOvnt/l/WNGUeFs+KRRM= X-Google-Smtp-Source: AOwi7QCfapMX5OAxsYPpo0yGdoLo92kkjb4/MbBnXF8KyiQqHj+WAnFyo4TrIIOq3yGR19qV1xENnw== X-Received: by 10.28.12.134 with SMTP id 128mr4878759wmm.147.1506105780029; Fri, 22 Sep 2017 11:43:00 -0700 (PDT) Received: from Red.local (LFbn-MAR-1-580-96.w90-118.abo.wanadoo.fr. [90.118.159.96]) by smtp.googlemail.com with ESMTPSA id y99sm3293806wmh.1.2017.09.22.11.42.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Sep 2017 11:42:59 -0700 (PDT) From: Corentin Labbe To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, wens@csie.org, catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH v2 04/12] ARM: dts: nanopi: Fix node with unit name and no reg property Date: Fri, 22 Sep 2017 20:40:37 +0200 Message-Id: <20170922184045.6498-5-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170922184045.6498-1-clabbe.montjoie@gmail.com> References: <20170922184045.6498-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170922_114320_721446_8DBB9A3B X-CRM114-Status: GOOD ( 10.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Corentin Labbe , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Maxime Ripard --- 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 = ; 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"; };