From patchwork Tue Jan 26 12:45:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 370624 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp4943254jam; Tue, 26 Jan 2021 04:48:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0L0p6GxXlcC8lWOoeJ41HsSSj9dCncBpdsna86exMSI+4JGXqJkRGIPAg6ApuKvXmtAuI X-Received: by 2002:aa7:d64b:: with SMTP id v11mr4247132edr.16.1611665338631; Tue, 26 Jan 2021 04:48:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611665338; cv=none; d=google.com; s=arc-20160816; b=tUohbpe7ITKyhNUb9BAfc/x3K87o6CeQ8ejcHyVtsRJsz2IkBwLAltltmSAOU6cNxc ZMfLN9E0+X5TI3ujey8DgyggIEzKsYfe35sNP/DTiJA2e79Qkd5l90wgnD8CtSrjnEjn Opyl4wRA0ULrfcJdNbgKDvTAlOmFJW2UyQOBa9iKcxCPwFoYFIyQmolm8kOWo9qszk6X UpBcXolVOtOuJcdEJOYLKqJ5hwtuplIqyx2Yhp/cc5DbrhKriKw648MwhVicDwQFoRfM EDi4RXzTTxMn3gjgr76upG+ThvFLcdfb2EbLHUie7j6Kg/0E/QVlvHNqWEXm23WQTGa/ NdPQ== 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=iORMEqJhCnrh6wIXXy7N9zvOdfWOGFh+mnFrMk+Wc4I=; b=YMEUbtMBbCtJ0TNxbp2DaPxzU4a/8KLMLe9LqPL0FOmJ7+3icOHEY0ptWnUJCc7Hdi i+yUocp3Zbr4MZMerIvqROgdxJKKnBBfb1XiJW0adm3G5pMBqIkZHVWU5cz61rZi98+m Vil/rGn5GN4ieYXBrorqYeeXvSpot33rZ0QGllT+3YTaDFld8ZZW1boaEGmYRgszE0kL H0A63JBFqnkaPhwVmjFAUU9oPJ9291dCBmdakhkYqjLBy7ShMAfTyBZwqo/FrgwFdYro qqVgbT0FaQohR+uQBGsJW047uuCK1HDfd+GbaT2TaOWsn+fGUeGS0NbuMwBzB0+RnG9H 5MMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ut1+hsKM; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-omap-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 bc16si8626674edb.335.2021.01.26.04.48.58; Tue, 26 Jan 2021 04:48:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-omap-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=Ut1+hsKM; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-omap-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 S2391662AbhAZMsq (ORCPT + 3 others); Tue, 26 Jan 2021 07:48:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391915AbhAZMsf (ORCPT ); Tue, 26 Jan 2021 07:48:35 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D25B6C0698DA for ; Tue, 26 Jan 2021 04:45:57 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id h9so6071125wrr.9 for ; Tue, 26 Jan 2021 04:45:57 -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=iORMEqJhCnrh6wIXXy7N9zvOdfWOGFh+mnFrMk+Wc4I=; b=Ut1+hsKMp53ICFgNhpIw0ZooAhqTLBGxRB1GLTU+ou42L9Dcz2FMt2o95jvhCa5CJf ZdlD9DBP1nU2IMrEQ9ly3HLM8tv74yCFWf3FpjdMVG0AGTNgKqPii/2dhd0ZSTMWHSke SfKwvE+l7fcjMACW9iCx/76oeGNAriPw3VvxzsJlySd9/zOTfQUIsd5T5jPfqnf+CfEn PEdLuEobbG2jPX0Gf/vBfIPoyJk2F6FLkDxVjXkK5SOztcfDLiR2N+b/QRpWjYsMV3c2 o3wVGKiDJsO/jHItbpGtc7Eet8TetxgNijbinf81a/1UNccJcvd1b63IVx6aw38fnnvk 54kg== 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=iORMEqJhCnrh6wIXXy7N9zvOdfWOGFh+mnFrMk+Wc4I=; b=cKEz0D062CZipXcmtCDnkGMn5TpouZt7fQb3/gr2YFGZpRxbFPNcv+vDjojBdTi1a8 ZomC5H/6iY/pzdWIhNWImS+o2Q3s+dFrz6cIFRX2rNiPOEnJ37PyIueK+yWVqWg9BCSw 5JQV3OapEAanCjK0l2ZHHKihy7FD03L7qK2os08QEGg7Qufj8KgtM03QsfsopC7sN+kG Oi9bPi+IpYbXQkVdX9TZOySSymhNmEdpCfXG4ZSlbLmV2T7Spk/93e3gcQTQhgTbnZhR 0bLkueE89x7gQ2dG8VHLyabF9ExaK/iyx54YHpHG7zpar6jpxkWbCgjDxNusHXO250TH UYRg== X-Gm-Message-State: AOAM533X/WhxWv/4/jf0MC4Lnf8epeoGQFvhLZd6Gqz9Hw/WIU0XuD/w mZK/bf0y5g9hYIDX8ga8PB0EmQ== X-Received: by 2002:a5d:6c6b:: with SMTP id r11mr5998536wrz.38.1611665156576; Tue, 26 Jan 2021 04:45:56 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id i131sm3263073wmi.25.2021.01.26.04.45.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 04:45:55 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Tero Kristo , Michael Turquette , Stephen Boyd , linux-omap@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 10/21] clk: ti: dpll44xx: Fix some potential doc-rot Date: Tue, 26 Jan 2021 12:45:29 +0000 Message-Id: <20210126124540.3320214-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210126124540.3320214-1-lee.jones@linaro.org> References: <20210126124540.3320214-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/clk/ti/dpll44xx.c:114: warning: Function parameter or member 'hw' not described in 'omap4_dpll_regm4xen_recalc' drivers/clk/ti/dpll44xx.c:114: warning: Function parameter or member 'parent_rate' not described in 'omap4_dpll_regm4xen_recalc' drivers/clk/ti/dpll44xx.c:114: warning: Excess function parameter 'clk' description in 'omap4_dpll_regm4xen_recalc' drivers/clk/ti/dpll44xx.c:150: warning: Function parameter or member 'hw' not described in 'omap4_dpll_regm4xen_round_rate' drivers/clk/ti/dpll44xx.c:150: warning: Function parameter or member 'parent_rate' not described in 'omap4_dpll_regm4xen_round_rate' drivers/clk/ti/dpll44xx.c:150: warning: Excess function parameter 'clk' description in 'omap4_dpll_regm4xen_round_rate' Cc: Tero Kristo Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-omap@vger.kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones --- drivers/clk/ti/dpll44xx.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/clk/ti/dpll44xx.c b/drivers/clk/ti/dpll44xx.c index 89c3ed1a24b82..3fc2cab69a3fe 100644 --- a/drivers/clk/ti/dpll44xx.c +++ b/drivers/clk/ti/dpll44xx.c @@ -102,7 +102,8 @@ static void omap4_dpll_lpmode_recalc(struct dpll_data *dd) /** * omap4_dpll_regm4xen_recalc - compute DPLL rate, considering REGM4XEN bit - * @clk: struct clk * of the DPLL to compute the rate for + * @hw: pointer to the clock to compute the rate for + * @parent_rate: clock rate of the DPLL parent * * Compute the output rate for the OMAP4 DPLL represented by @clk. * Takes the REGM4XEN bit into consideration, which is needed for the @@ -134,8 +135,9 @@ unsigned long omap4_dpll_regm4xen_recalc(struct clk_hw *hw, /** * omap4_dpll_regm4xen_round_rate - round DPLL rate, considering REGM4XEN bit - * @clk: struct clk * of the DPLL to round a rate for + * @hw: struct hw_clk containing the struct clk * of the DPLL to round a rate for * @target_rate: the desired rate of the DPLL + * @parent_rate: clock rate of the DPLL parent * * Compute the rate that would be programmed into the DPLL hardware * for @clk if set_rate() were to be provided with the rate