From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4928EC433EF for ; Fri, 26 Nov 2021 13:58:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 496068374E; Fri, 26 Nov 2021 14:58:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="J5OO5UX6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E894D8327C; Fri, 26 Nov 2021 14:57:41 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CB92B83741 for ; Fri, 26 Nov 2021 14:57:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kabel@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 71E4EB827E6; Fri, 26 Nov 2021 13:57:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09E54C53FAD; Fri, 26 Nov 2021 13:57:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637935054; bh=oQ++nh/9P6G9h/jI3k7CReIRLIExWbzyA4SvtGT3Zfg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J5OO5UX6J2v76/hCN2/YTbyyICrVwJ7IpgwcHWX8NI5cdpMq1fls42uqLM1Qm/aQ0 gQNH3C3tS3zYLNvXkxG2Acuc7bTWQUO6KPYvLVL/ARQfoTquNTXlbXlDkTEYjXfemq PHwRNZsb1yYrDvFvrXSp4Ge7rH4GZRU4c/CwwR2JKr9tybMmWMVzF5LAs/Ix7N/Nhr s7KFytBnRiGX+kuZCF0MlH4IxiGQS5GxwYtRmw99/nLQm2b5ssROQwvF1vtKFE94vv +fwNnefr+NEJ9DSmJSu7mjIMm0HJXHE8o8B3n43tvWdYkTUhZ/CGM/POLMR1PkHgV5 UMcwupnpzpGMw== From: =?UTF-8?q?Marek=20Beh=C3=BAn?= To: Stefan Roese Cc: u-boot@lists.denx.de, =?UTF-8?q?Pali=20Roh=C3=A1r?= , =?UTF-8?q?Marek=20Beh=C3=BAn?= Subject: [PATCH u-boot-marvell RESEND 05/11] fdt_support: Fix comment for fdt_create_phandle() Date: Fri, 26 Nov 2021 14:57:09 +0100 Message-Id: <20211126135715.26485-6-kabel@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211126135715.26485-1-kabel@kernel.org> References: <20211126135715.26485-1-kabel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Marek BehĂșn This function does not necessarily create a new phandle. If a phandle exists, no new phandle is created. Signed-off-by: Marek BehĂșn Reviewed-by: Stefan Roese --- common/fdt_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index 8ac905011c..df111f708c 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -1504,7 +1504,7 @@ int fdt_set_phandle(void *fdt, int nodeoffset, uint32_t phandle) } /* - * fdt_create_phandle: Create a phandle property for the given node + * fdt_create_phandle: Get or create a phandle property for the given node * * @fdt: ptr to device tree * @nodeoffset: node to update -- 2.32.0