From patchwork Mon Jun 25 15:19:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Klinger X-Patchwork-Id: 10486711 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 E393360230 for ; Mon, 25 Jun 2018 15:20:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D24A1286C8 for ; Mon, 25 Jun 2018 15:20:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF8C82868F; Mon, 25 Jun 2018 15:20:33 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CDD7286B3 for ; Mon, 25 Jun 2018 15:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752116AbeFYPUX (ORCPT ); Mon, 25 Jun 2018 11:20:23 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:52820 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021AbeFYPUW (ORCPT ); Mon, 25 Jun 2018 11:20:22 -0400 Received: from localhost ([83.135.237.7]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LdZfa-1fyaY12L9m-00ioKF; Mon, 25 Jun 2018 17:19:27 +0200 Date: Mon, 25 Jun 2018 17:19:26 +0200 From: Andreas Klinger To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, mchehab@kernel.org, davem@davemloft.net, gregkh@linuxfoundation.org, akpm@linux-foundation.org, linus.walleij@linaro.org, rdunlap@infradead.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] iio: hx711: warning in dt binding example doc Message-ID: <20180625151926.GA6403@arbeit> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K1:YQA1kZXM1bvOr8eg79OAiOfQy2s++FUUJlg4TmjgHHE8BuaRFfg kxh8jNd8+oA21+DtiisGzjx/FUtis99ZCq7+f6gfP/65qVCjjIWLkLBzvH8LVgScDZKXITW ndTeWxdysRWMhfgwc8GcqHTgS2ntmArBdftU2vXYZRna/Pdhtw0EALniEK4TyA0f4qA88Y9 n1oP1qEyiENLbUvCnqesA== X-UI-Out-Filterresults: notjunk:1; V01:K0:+mfc/WGZll0=:+L2GqtFOV/WHqMMs7Obqci iQvOsLN6MNeffjX/Lx9Oy54D5cW6rznoUHGKx8uElnLHakqyaOBoQwpKvOO1akJOkzBUAGU9I aP2HNaNCbHx/JSp8wKRlYWbFYF/Z0WQs8OIsqnd6JdtKlRyHwrigY3+NQrwcUASYggNmjGuoi haz42rBKVTTIdpzu4bdXkVkPLLSxDydi2lZigmAf+oSQKtZYPaThkCukbJfXA4KtcAyu3y4lC 5lz53VURWtsX1ZnuBK6lU/U9oOT9W0TOeZ+y1hELPo78GWOy83TLuQtb7DTQ0hxQnzwQZNZ2d CDH7LYbfxC0hrK1RyF3rub0JFZGXEEKaQF2r06OuaGhRyfOMGMblFnk/rTDNoi/gxFNlAPiya C/PsgqbACDcMYXVjp9y433bbk5IN5RRvUbs5itzvwvKRTfSWmcwGkg6tLPmOEjXf1vBGlTBf6 0dk/ugQ9pF9UZA341DzMYa9GWhcpwGe7X3VsY3VQnsdX2cXaaDTn9c9WZzcLKDmYHmQve9c56 V/v0dr2Q32v3G47s3WnNNbXXn57YnaLYn9O9qzxHws9Z7o2FpUB8KcR3qYHy+nve/j4HcAmbm nHkcbiXx82xZiwyh2008c5ZAHxHweVKLPCORnKLWIZBqmJog7s46rFKpY2fbVUAPlL/w9ttfB WGqex7qW6yZ5BmMxqyZkJwrStljqZWbd/wvzsQnVCfmMVWYst8NK81+dnVdeQIfI5PoQ= Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP device tree compiler (dtc) gives a warning if a device node has "@" with a following number as it's name but no reg property. fix the example in the documentation of avia,hx711 to conform to dtc behavior Signed-off-by: Andreas Klinger --- Documentation/devicetree/bindings/iio/adc/avia-hx711.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt b/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt index d0c066e3df69..8c9bcaa4d750 100644 --- a/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt +++ b/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt @@ -15,7 +15,7 @@ Optional properties: is 50000 in the datasheet Example: -weight@0 { +weight { compatible = "avia,hx711"; sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>; dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;