From patchwork Thu Mar 18 10:40:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 403969 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp356798jai; Thu, 18 Mar 2021 03:41:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpKM2NSoUM5ZWvGKwUhAB9103HpHJunK8VC6S1BlkOqa89cPwh783j9qRK0FMgudxAuw34 X-Received: by 2002:a50:ec0e:: with SMTP id g14mr2811471edr.264.1616064100186; Thu, 18 Mar 2021 03:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616064100; cv=none; d=google.com; s=arc-20160816; b=aXE6jy+QkvBXpTxHcfcaN5DRNqygSJkuCXvuGTSb60WZpw6uRhqJM+tmsf9VfQ7OhU prBtnYrbiYN5JPcCHs4girdi5awn7cs+eNyG/M4uEIvyDsG5TTKFotky7F6kJuc/Xxfz ZdhGueJe1YSt8iKJWIDAFYoIi5+ACGIpwUaY94DX/dhOaWgCDezXPhro6trLyiYpOywn m0AjTdymseZS50S8EXN7FoxCB24ezdNgYwOI1lx03MJvTlYalRcNQA8JdlxBZD26d83F O+QsGmBG900hcPvoP1URRUtxFIwiYXBZ1pyTIjX2u7lWZLcFJuNtZWV2vrjs+NefE4dS +snA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=s/yHaiIW3zZWGJ7IRLS4o0qlm7CjCLAYQPe2urNviwU=; b=sMTVECO0phiUAxlvcZYYJmlL6NLzHwDu+pfdXPukCfjDZhGl10nytJNL3ZdSX9hukp 9mrh9CU6g/hPkjrkQzotJwhpxYI0/ohIUpbi1HGbT0s7eeuHYKEzjEw/RTWNxA/Ynuxf 0quiTxQwT1InjPhXQvh5aT12I5mws9QRu7Ydb6rAPOMzfVjjC92K9BxTpbNXmzGBDk2D d97A0Au7tuiHWv3wtshH2I1KC7M63tXo9EeNPxbBV3hl+7wN4cRWxkz/pvthOif5VLwn YYZ+H3NT3nR1TP+gzfUcxOTBUrXXcDjIcMx8Ds41GX3RpIAXRIb8XE8oJTwUgzlCpRJC UrAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m2pcdvCl; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si1279805edx.180.2021.03.18.03.41.40; Thu, 18 Mar 2021 03:41:40 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m2pcdvCl; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230221AbhCRKlF (ORCPT + 6 others); Thu, 18 Mar 2021 06:41:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbhCRKku (ORCPT ); Thu, 18 Mar 2021 06:40:50 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA34BC061762 for ; Thu, 18 Mar 2021 03:40:49 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id g25so3245285wmh.0 for ; Thu, 18 Mar 2021 03:40:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=s/yHaiIW3zZWGJ7IRLS4o0qlm7CjCLAYQPe2urNviwU=; b=m2pcdvClE33ozLIPbSCd7+x7Q5KpPi5D4AaEREh1vozlK8Hd+MYr/QoN1Xh66Y8bGi fkNBubXz0/9Cn8Q4R795drJ4rXwaLj/joqxqx/njXrlYcjFlKkvkQoK5yMdO4Za08xQR v2mZJxqNqfXG28y5nllnqPk3Mb//QsIkRXsri40zEnTOLaauXjmmmo5YCQk0FtoON74j WzKF2gOqdse0xY9KkoXTFUrnGAp+f0ByCjaFYHEJmz98IeghfPymtgTjyfOtpDikLQl+ sP5RN2cxVXPsCQEA7xXyuYfhEh4gzt0aSRm76gi5vM5znzdJj/zoJwGGYUCXmQgOvmgf U00w== 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:mime-version:content-transfer-encoding; bh=s/yHaiIW3zZWGJ7IRLS4o0qlm7CjCLAYQPe2urNviwU=; b=Zz8lrLYBE8riwpnmQnrM7CbSAjpW7be/4snkaUCHfSZHzToQThhhx83vIFFbQG6J2g AmrQe9AIMmP3XqLNKfWi7czeUTaPVprWcD0Uo9y/kO/LlFGRbvoNJpLZViFKSfkPqSU/ 1aQJYMUoK3A43qtAJGGKYSRgIbuQM2XynAHIVJdyRT3eXJDoesLc6p30BNRKbpxowSpY eXLW0ItkusZ4tVfeM35qPRz/M0f5ZpLDvfDhxOvqk96UVz6/8UM0Bm8c3NZsgI/HHcbS /gHF0xHZvxlLiA7UZW5bySYjujoglMuBLquYZUEVGorgrOeEWqIyaP3elgNfz9oXz8Tu xeXw== X-Gm-Message-State: AOAM531aRjUlAQ1mxVEQ4o8zme9OQD2nu1u9qegtCgk0M+NvKtK3YC3N XGwzLoJq8dsPVj+i9vOa5TgHQg== X-Received: by 2002:a1c:1cc:: with SMTP id 195mr2969782wmb.41.1616064048713; Thu, 18 Mar 2021 03:40:48 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id z1sm2426033wru.95.2021.03.18.03.40.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 03:40:48 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Herring , Frank Rowand , "David S. Miller" , devicetree@vger.kernel.org Subject: [PATCH 05/10] of: property: Provide missing member description and remove excess param Date: Thu, 18 Mar 2021 10:40:31 +0000 Message-Id: <20210318104036.3175910-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210318104036.3175910-1-lee.jones@linaro.org> References: <20210318104036.3175910-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/of/property.c:1239: warning: Function parameter or member 'optional' not described in 'supplier_bindings' drivers/of/property.c:1366: warning: Excess function parameter 'dev' description in 'of_link_property' Cc: Rob Herring Cc: Frank Rowand Cc: "David S. Miller" Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- drivers/of/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 diff --git a/drivers/of/property.c b/drivers/of/property.c index 23816959c6966..c000ed01db018 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1225,6 +1225,7 @@ static struct device_node *parse_##fname(struct device_node *np, \ * @parse_prop.prop_name: Name of property holding a phandle value * @parse_prop.index: For properties holding a list of phandles, this is the * index into the list + * @optional: Describes whether a supplier is mandatory or not * * Returns: * parse_prop() return values are @@ -1344,7 +1345,6 @@ static const struct supplier_bindings of_supplier_bindings[] = { /** * of_link_property - Create device links to suppliers listed in a property - * @dev: Consumer device * @con_np: The consumer device tree node which contains the property * @prop_name: Name of property to be parsed *