Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp752924yba; Wed, 3 Apr 2019 19:26:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJxU4MkEv0RdhOGS+cW26lekbeicsAKaDUv50peoc9faLTjyIwUchrcShoaowYmPJALrWh X-Received: by 2002:a63:4b21:: with SMTP id y33mr3207725pga.37.1554344817598; Wed, 03 Apr 2019 19:26:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554344817; cv=none; d=google.com; s=arc-20160816; b=KLuj9OdGgGTIU9cSvd+/aUqR+l7rpEOvFE5u/2TzwbV85VpbLUNQHeaU4zmzbZbX2K y3cHNeHmEha4Ix/u7UODqDhthzbGIni+VntHu5VWF/0HOPgXa07lPLhKuzPrgP43CAzT XXQG3+QORafmD/B9gwtCoLVw3+044XRcLxT15j358pZVKKSxFLCdpZQ+HFpGQWm3Iv7Q rDiOnSom3P8RoKGSJX3+yhLhRzPQnFoBiWw9aqFDEpoXtB81ProZC6YEjEYfrvs/NODp ecL25Aiq4jDzT4bQsAFUba90T0iA8nwnT/fHW7mu/uhpDy0DO+Taua9icNkKSj/DHlZb 4aJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=C/Vl4b4/WKwrIuLC3TGftDWsZMiZp//VsiHckM1ilA0=; b=bGPU6Tx9ABU4Dbqij05MF23F2DSDP64VNePw80j1p7106xcjv+gaRiJ5dkWPeL9Kch NDSCyOtvNaSCITFtXVcSlPyiBTkoi3dNXMUxitwZGZCTw1ynmZJP6YKu9SUzneaSzDv5 jKZdpUI9krv7bJRa1h9tWnFSFAvcwy3/3e+QGzPYkpdK2tNdrI/wZB1m4EytgnA8HdLi 2CfFZEpdEDUgFAcPXK5BrBDXGPoNnSYoE582zuae48waC247K1592LXN1LoKGZJfWsCR tO/+e/8uFyBKYczb4Xjlqne5RuLDH3XMx+F558JE8XkZ0JqCBIAianCGYKiyx1KQ0erq vuiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=2RKyvcgs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si15387997pfm.191.2019.04.03.19.26.40; Wed, 03 Apr 2019 19:26:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=2RKyvcgs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726495AbfDDC0F (ORCPT + 99 others); Wed, 3 Apr 2019 22:26:05 -0400 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:55224 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726167AbfDDC0F (ORCPT ); Wed, 3 Apr 2019 22:26:05 -0400 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 0C849806B6; Thu, 4 Apr 2019 15:26:02 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1554344762; bh=C/Vl4b4/WKwrIuLC3TGftDWsZMiZp//VsiHckM1ilA0=; h=From:To:Cc:Subject:Date; b=2RKyvcgsNf/A6MjtiT5/B8oCYYFhFSOpE+jxuX+p7bN/OhEkBraplLx0/JTfieKx/ kfmfawmiSiyQGmENjbqml+FGQpFng7ejMXLGd6GcWUB2L2T1M19Z7sLFqPSAGcA4aK rTpkSaPw/qMZJYbVPhMvD/gIJ0YQisxyKqoJf+EXRbi99GzWjxB3VS9zP7eJHQb0pq P5SioSfMNERG09SwCY45bRwI19QcO5bdtE5zsRYhlZDOUEIBGxDPpt9iE79nvoTxxC 6QXtvL/yASPgUyAB5Swtyw0F0ASoHM3r2r2y2Q9yYGYJTj0de54VHSZ65QVvIrnUg4 uegJpSUjo0s8Q== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Thu, 04 Apr 2019 15:26:02 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by smtp (Postfix) with ESMTP id EB86513EC0E; Thu, 4 Apr 2019 15:26:01 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id C2AF91E1105; Thu, 4 Apr 2019 15:26:01 +1300 (NZDT) From: Chris Packham To: pantelis.antoniou@konsulko.com, frowand.list@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH] of: Documentation: Correct return value from of_overlay_fdt_apply Date: Thu, 4 Apr 2019 15:25:55 +1300 Message-Id: <20190404022555.29382-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable x-atlnz-ls: pat Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The return from of_overlay_fdt_apply() just indicates success or fail. The cookie is returned via reference. Signed-off-by: Chris Packham --- Documentation/devicetree/overlay-notes.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/overlay-notes.txt b/Documentation/d= evicetree/overlay-notes.txt index 725fb8d255c1..62f2003d6205 100644 --- a/Documentation/devicetree/overlay-notes.txt +++ b/Documentation/devicetree/overlay-notes.txt @@ -88,7 +88,8 @@ Overlay in-kernel API The API is quite easy to use. =20 1. Call of_overlay_fdt_apply() to create and apply an overlay changeset.= The -return value is an error or a cookie identifying this overlay. +return indicates success or failure. A a cookie identifying this overlay= is +returned via reference on success. =20 2. Call of_overlay_remove() to remove and cleanup the overlay changeset previously created via the call to of_overlay_fdt_apply(). Removal of an --=20 2.21.0