From patchwork Wed Nov 6 13:28:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178699 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp608079ilf; Wed, 6 Nov 2019 05:28:54 -0800 (PST) X-Google-Smtp-Source: APXvYqyQgnFFV75J02sZmtPWYa3ZShIvhiZKpAEwyJhHDxubUO1IgIIW/Ir2QKSzqcelQcza3hzX X-Received: by 2002:aa7:d0d4:: with SMTP id u20mr2678668edo.112.1573046933976; Wed, 06 Nov 2019 05:28:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573046933; cv=none; d=google.com; s=arc-20160816; b=N6qTmsgLQ41l0KwlJ2YDH5xvdLkKVD6Jl2zh5/BTLQ8vmnZei1JRtG7yLsbIWR+YRq UUdaafjeeipe2yChbf/09Rg6IPMFNEzxG1Bh8ZUeuwOO2PyzyHGEY9qXVXedoqKbgijx YZf/RMVran8dO7hgeqOI6c6mEp8yKzGC+SIhCHK7CbT0nQJCexfERxyMEnKB4+VtuvHx E0UEwJnB5i4BgNVwKoduawpXucuJN8wz5ZrZvz/ZKp//W+zQL/3A4rIlpR7oy7UiE2UZ mWrP1X7wVXuLNJa2K7Fmg4f/wlE/3FOV0fyoponwwx8WmQ2b22xouZSwf7ZLjh1tsiWU Yxvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=iZlXNo5QDi4Ku2OumCxTReBsuPP9X5fG3KsKTSejROc=; b=b9e/X36YFo7XevZyMu+j2ykAnUGrYPaHTYlBPcDky98tEMOOWbpoMUEajrXNok4RnT lniHocSVgaqopFtaDIyeTTha2neHf1oPZvNrpF05Rc3CPhC2uFxTqdhg+WsuJyDgjxAb b0bripyRHaDPdhCtS9tr4IuBty96OYNmF3s1tDGAqUqlIV9NhwN6nIYrZyV4gHVz0dTj +bQCuniPOqOGvptpzG/06gVXd8BYnXM2Zf/fvoIr1DkthPhEE4+5fUlG8iq1PfI0Kjsh VA0qShCIaaSsVjgepuMn3s34b5HOs8sQQ+DjxeJDXVEQMsA/I5ec3ct7BJcrADyFJ9O7 i7PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y54iMZhF; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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. [209.132.180.67]) by mx.google.com with ESMTP id 63si13795701edp.302.2019.11.06.05.28.53; Wed, 06 Nov 2019 05:28:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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=@linaro.org header.s=google header.b=y54iMZhF; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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 S1731777AbfKFN2w (ORCPT + 10 others); Wed, 6 Nov 2019 08:28:52 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:45960 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731635AbfKFN2w (ORCPT ); Wed, 6 Nov 2019 08:28:52 -0500 Received: by mail-pf1-f193.google.com with SMTP id z4so12849824pfn.12 for ; Wed, 06 Nov 2019 05:28:52 -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 :in-reply-to:references; bh=iZlXNo5QDi4Ku2OumCxTReBsuPP9X5fG3KsKTSejROc=; b=y54iMZhFsDkhFVspBHefTVsS0hpSeUoA3E6jZcdSI24ker0Pp8pVSHUKkHOnchnU2y bE3qmBDWjNZbAq+4XwhySlaLmsMnZ/V7IEwhs6HajcnVKTeVTuPwQcmh/HedpQx8YUgE 4lZJmGpSURzeSqWHx3Cehn2x+RmRN8m0U3erKhQB2CDj4ScykGxNU4DmYjCNKxd5DbqR eOGiSGBesA+CLOh+by1tGNqI0KkNtofAJ6xCaueiAzznemhYiWztpVfVj7tH5tNqc4g8 sTH+D/ReKhn2R0pteTZ0fOsKb8oNIbyMSIRcwCdwe7hceH3Be8Z4ysxaWGgd3bAvXFRt CGbw== 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:in-reply-to:references; bh=iZlXNo5QDi4Ku2OumCxTReBsuPP9X5fG3KsKTSejROc=; b=ZzrXwnWdWsQoP/NiicQxery7UOBJK0bq8n5AbkFlklNMts1TiMtCppcg4AC676xqYf oZw7+Y7DMBmMhVS+2dw6DG+Upo+ch1sd3r8qGfGVDteGfoXVI0Ch6bDP3y0/oQqIWJxn GuHzcytkLsUgc6DbPpuFKLHdoR3LA0owMl32TLuaulSnuYBtaJv6ooqR888Kl4U4xuXF YZjnpMHa61TkH5MeHKNwtNmY6nu4Vi0SgmMkOlSSCxK2XhMFYpX8m4MYXwrMxfLOQm5U C+tNZhvXbr+/tS6sIB51x+QbLmHRd4as/6gtyVu9vs90Xhom/fTZKHzzjthJretTOitX 59tg== X-Gm-Message-State: APjAAAWGlB9knG7NcihILeAc0yNhtyGb7NyzEtAAddlCPpSjd/4wzJnl iJxhqVx9+1Fq6NIVQ1VvuTztOA== X-Received: by 2002:a17:90a:c306:: with SMTP id g6mr3803290pjt.38.1573046931527; Wed, 06 Nov 2019 05:28:51 -0800 (PST) Received: from localhost ([49.248.202.230]) by smtp.gmail.com with ESMTPSA id u20sm6015923pgo.50.2019.11.06.05.28.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 05:28:51 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, edubezval@gmail.com, Amit Daniel Kachhap , Amit Kucheria , Bartlomiej Zolnierkiewicz , Daniel Lezcano , Guillaume La Roque , Heiko Stuebner , Javi Merino , Jonathan Hunter , Jun Nie , Krzysztof Kozlowski , Kukjin Kim , Matthias Brugger , Shawn Guo , Thierry Reding , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 04/11] thermal: devfreq_cooling: Appease the kernel-doc deity Date: Wed, 6 Nov 2019 18:58:20 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Fix up the following warnings with make W=1: linux.git/drivers/thermal/devfreq_cooling.c:593: warning: Function parameter or member 'cdev' not described in 'devfreq_cooling_unregister' linux.git/drivers/thermal/devfreq_cooling.c:593: warning: Excess function parameter 'dfc' description in 'devfreq_cooling_unregister' Signed-off-by: Amit Kucheria --- drivers/thermal/devfreq_cooling.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/thermal/devfreq_cooling.c b/drivers/thermal/devfreq_cooling.c index ef59256887ff6..a87d4fa031c87 100644 --- a/drivers/thermal/devfreq_cooling.c +++ b/drivers/thermal/devfreq_cooling.c @@ -53,6 +53,7 @@ static DEFINE_IDA(devfreq_ida); * 'utilization' (which is 'busy_time / 'total_time'). * The 'res_util' range is from 100 to (power_table[state] * 100) * for the corresponding 'state'. + * @capped_state: index to cooling state with in dynamic power budget */ struct devfreq_cooling_device { int id; @@ -587,7 +588,7 @@ EXPORT_SYMBOL_GPL(devfreq_cooling_register); /** * devfreq_cooling_unregister() - Unregister devfreq cooling device. - * @dfc: Pointer to devfreq cooling device to unregister. + * @cdev: Pointer to devfreq cooling device to unregister. */ void devfreq_cooling_unregister(struct thermal_cooling_device *cdev) {