From patchwork Fri Mar 12 11:07:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 398553 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1098862jai; Fri, 12 Mar 2021 03:08:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOCoid80lnpCE+dtlPTJ2ldzY7oE4xswfq9N1dNSv52xtRYd92TQ7otVoidKsepiWHUczV X-Received: by 2002:a17:906:b20b:: with SMTP id p11mr8057732ejz.0.1615547329697; Fri, 12 Mar 2021 03:08:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615547329; cv=none; d=google.com; s=arc-20160816; b=sAythrTA+ImZ1oWMbUAZtRYpXJ41w4As75xbOMhP508faKZhPFoL9wdiOxvECeP/7S mMIiv86+Z4wCOMf3Yc26dvKkiBLi6HcJLdZCfwyK0lB2AaN63L8J1fYpanBzAMwedGu8 uPqi4gJC2c1QQUQiH2pIndpFmvntR5Rh/rkYnROJpSMC305Aah3ZCkaLBZkuvbDIIIs6 wb0xjYGoe29H41Qc9fIXJtTI+2Fe7s0xKCHUF3fe6d4SzLS4SMlJfy2OukiZHaa+oMo+ DBpVSPfeuBhEvTPeJWABH8R519zBpxNgWUJcZOPLtfDHuLCUrxNlDLfjQ57RTaobiX2e 2uOw== 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=LUHr4ymMi5VBqrEoXKDtGcta5lpuLHD7VRSm0+qQluo=; b=h13sSGcTfOjVAhHbdCiaYNgAO85r2Ummuf8dclPNvuKm/0XxBJmJjVO/Ao2YDEOIqw 3wiyha+MQcNlBiL9iqqRkPZPIN27sLFOyEon6A8qz4MBHN7gfwko82v9YmwSoGwPv+Ye DhIcFpbFG81HZYB0dp4jTjebYY8TLKCZXgKZoCjYuQpio8bIZEO+kG4X3wdErKKBgqyC G56eVdhS83ytvofYcKCN2dW/j+Oga0KxMjiCgNBN8jqtx1y9xYke8V48vIkTRYg5JM/X KvulqeA9Mtw5pvVEZMjDPqRqIhf1EIOSaEZl1Y8nOMU+SemqtmCYZzXFME/yHGdgbIO3 le1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OsUv5iLh; 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 b26si2139744eds.574.2021.03.12.03.08.49; Fri, 12 Mar 2021 03:08:49 -0800 (PST) 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=OsUv5iLh; 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 S233762AbhCLLIS (ORCPT + 6 others); Fri, 12 Mar 2021 06:08:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233794AbhCLLII (ORCPT ); Fri, 12 Mar 2021 06:08:08 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3345C061574 for ; Fri, 12 Mar 2021 03:08:07 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id j18so1538921wra.2 for ; Fri, 12 Mar 2021 03:08:07 -0800 (PST) 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=LUHr4ymMi5VBqrEoXKDtGcta5lpuLHD7VRSm0+qQluo=; b=OsUv5iLhDgVhzhV0LgtfnRfdzSikIjb7ns1xlfS49V36qOY1J3vfBg4n7bat4iDp+h AQ5oMDxUUOgzdq4yCF/9y7XtceVljvkjbEm425LoibpX1+zdwxHJuiHCPNQyFxeObLdL w0DjPjN7ery3banas/9niexyypuvzerUOtQJSoI/RA61ZC5vx5qeLSksVr8fSBTtzs+u h8FiAzGy4ijoGkLsKP0f4sthFzaFuqAiinDXe/X90am1N8pX5IskzxNHvWUE4XNnUxz7 8PEqcIExAqwI6GCqx3yog1itbJYOV+ObEwkSnBbF5kY1ZHi0YIknnZIXgIsd4bRbhy+g WDkg== 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=LUHr4ymMi5VBqrEoXKDtGcta5lpuLHD7VRSm0+qQluo=; b=QMY+3XNK+b24w51WtwCU+7eBrBg4prxQRTRXt9UvZYVXxTd4tA6Q1GnvDNVvMJkpah oQgnq0vcUgALuFVcmPK7kFJKhhovFaeg2sDHN0ecag0JdsQXBBkBX6GYqphhCjwSg05I oAaBzgxRUHQiEWHZgj6OrnrHWQUSijOBwVkm10lNURGQl/0ho35vsUUxvv4Tmct6zf+Q 39vua+6qHUM01kyzE6l9tE4ONcPeqpl2HF9rXXADUWrJz+sztVXlqr0+uxfw9LbGEnFe 7RS9RoqgRi6yqkP4ZzUEmQrMcoV3GEGyLVJBEaEtVJg+wqMpETfX+wAGlcj/sZtvQaVF 0yQg== X-Gm-Message-State: AOAM532IPLxX3TXXP8gDDPlFAretRkP0EAF94lnDaHOIQVzO7wftWxyA M3ZFyzdxmeUgWGtm97FKxQ47/g== X-Received: by 2002:adf:ee4f:: with SMTP id w15mr13382205wro.199.1615547286375; Fri, 12 Mar 2021 03:08:06 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f126sm1813003wmf.17.2021.03.12.03.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 03:08:05 -0800 (PST) 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: Fri, 12 Mar 2021 11:07:53 +0000 Message-Id: <20210312110758.2220959-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210312110758.2220959-1-lee.jones@linaro.org> References: <20210312110758.2220959-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 5036a362f52e7..5faf24a791c9d 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 *