From patchwork Tue Jul 10 18:19:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Klinger X-Patchwork-Id: 10517429 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 6944A6032A for ; Tue, 10 Jul 2018 18:20:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 591C22928D for ; Tue, 10 Jul 2018 18:20:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D6B3292DA; Tue, 10 Jul 2018 18:20:24 +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 E0222292A6 for ; Tue, 10 Jul 2018 18:20:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732426AbeGJSUb (ORCPT ); Tue, 10 Jul 2018 14:20:31 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:59973 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732335AbeGJSUb (ORCPT ); Tue, 10 Jul 2018 14:20:31 -0400 Received: from localhost ([2.166.249.57]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MeXc7-1fRaqb35I7-00Q8oA; Tue, 10 Jul 2018 20:19:38 +0200 Date: Tue, 10 Jul 2018 20:19:37 +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 v5 3/3] iio: hx711: fix spurious unit-address in example Message-ID: <20180710181937.GA5398@arbeit> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K1:AfjvaIs2XiiiZ+qfm7zE388orWpIbVlUsVVkvSdKQM90YScdzVy wdVvgBqPZOTOxWLSq70X3clsSHNufG2RivZiNGZ/Nqx/OnKbE6ChtnDCWHJ2Ir8QSVy+7aj lSaGuuWRLUYY6L0CP5wh3klL4+1+FZxcvPhnViyFeY2iaopkk/J+EBMY+Rwe4Ov358ZMHBl XiO3Fg3CJPEAxVNT3R2xQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:ZgUwC0OU3CA=:Ca8V5kaWvHBlfij5rA9SAS pnoCWsUcAKssYqrp1KGbvkAsOxTFyyf0YswKSYB9YhcZYBzo9BZe50VB71E9auj/RXaj6fHAe 8FI0DJMMn9h5ZY6B9+4B4i2YKTfraxy58IvhIXtIUqtBKc0GqYtgoUu3v8vy/cpRPPwkrHRr8 sgyabZLi6FNRnhpPW4MbIqQqvyGrZD7p9XtViDHKawc9EyPT8n8tlXaMrrqO4S5kwEb3/81If Q2watOevbRrU9wlWqmq5THXn7RlphQ/9o00QVE3qp3GcFu4rHmDNbAaO67qya7Z1Sld4ymYRs ALwTz0VZl8fIDtveTB7kxxJlJ8dmps6RAPTg213+o1YmlHy58/1T+d38rLJipDdl5dbYNvZ9T Kp0SmeM+92hVbKCGkrxENW01vLpTtpIA4J2jyIfv4lM2ehKH7qJ/UhakcBPyOmjD80SwvulKX cKCxDPyXSv78pm9G0LyKisCJ6n0yp4K2Qxi3rNiC1sq2T6B+ia5SQGbccewguWr5xlqIfwZuC KaitAZo2BOirvnIiC6YVjNc26YGFl9HOmYbc0InMZbyKYmPlr5FUb4H4ttLYJSrRLNE9DCyhC BnpoAWZ0e1RVrmFZLp1jZPEX9XETL+po0cz8E3l4zdO5TD9b6Ph9dt+Lzw9ZIl4YHrw6D7T+n /29zl1dxoap1eMtm0Suz6fMgid6U4Xp1dWRt1UY91qVKKlf1fa5ojwTNfVKM4N6jQCAc= 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 Reviewed-by: Rob Herring --- 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 2c1b67d33c49..7222328a3d0d 100644 --- a/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt +++ b/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt @@ -14,7 +14,7 @@ Optional properties: high time of 50 microseconds. Example: -weight@0 { +weight { compatible = "avia,hx711"; sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>; dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;