Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4978784pxj; Wed, 9 Jun 2021 06:36:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyZUEHfFPgMbzVzbO5EXfJiAPIK1WO2ZpmHas328jBKKgOaX4BhKryJXdrOppFF0P6aNmj X-Received: by 2002:a17:906:d781:: with SMTP id pj1mr29293801ejb.136.1623245776095; Wed, 09 Jun 2021 06:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623245776; cv=none; d=google.com; s=arc-20160816; b=MHhLRVH1gyQ+4GKYWssv5+E1IKaXB60pvNolRnlPX5+n82CQ4r5OuU75uaMtmwl/O0 z8js2Qw5ub/6g/CPcSd84sKWoNR8OxLdTqHlbubhQ/ffC6RwnY4uowNDNzIgt4WF6QFk GKiY44UvrT8wFFJqdRRNKblt7qR7agKMblFb96oT9Dw2BDzERLvzKNkB3RQjGIBRa2/V eSJtsIAFQfU/eoguZXwkyWjD4CGTRCVheNJh3u0SuG/ZzSKZrxrPkc819oiwPp7hQgyN XctHk6+GX9K5rZSg5rQDcrEaDwbuZfGS7fTplhOvQWEjq71EuqO7vPVtKso/eSfrqz25 MeVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=e6+5OxCpFC1F//O6WwEedLj/5LfcVHisBbgOkkXFJwA=; b=rD1YJcsPEnhMvPdDr+yWfzi2XdULcCx79AYiB+M7zJz4IPWxwTDOaIGSGAInyFB104 U1J9abI84lj4UmVM8xcjEOhejDhXt9m0ZYaYlMx93cYDo/Y+AXqNE/MNVfmP0z6+bqxz pEgjXfmUi8JvrKVhJGsDKcLuAt1OUsgNF54jwuKvZJ8h6ucSXMgSojN29lZ8pXJMcgOT 4/mOW/LcH3lQ6F9F49piYkQTIehd6+5YYXTFDEppRISS3EOhEg0QyWDAR4L7mxs5ktHY E1qbBrAWnETicl42O9sY65kpC9KUD4S2tA47h4L97vBvfbWwYg0/+PTXowRVRaAMJSZP EZRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 27si2397576ejd.393.2021.06.09.06.35.52; Wed, 09 Jun 2021 06:36:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237250AbhFIHYa (ORCPT + 99 others); Wed, 9 Jun 2021 03:24:30 -0400 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:43222 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235509AbhFIHY3 (ORCPT ); Wed, 9 Jun 2021 03:24:29 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0UbpzKCG_1623223352; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UbpzKCG_1623223352) by smtp.aliyun-inc.com(127.0.0.1); Wed, 09 Jun 2021 15:22:33 +0800 From: Yang Li To: rui.zhang@intel.com Cc: daniel.lezcano@linaro.org, amitk@kernel.org, nathan@kernel.org, ndesaulniers@google.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH v2] thermal: devfreq_cooling: Fix kernel-doc Date: Wed, 9 Jun 2021 15:22:30 +0800 Message-Id: <1623223350-128104-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix function name in devfreq_cooling.c comment to remove a warning found by kernel-doc. drivers/thermal/devfreq_cooling.c:479: warning: expecting prototype for devfreq_cooling_em_register_power(). Prototype was for devfreq_cooling_em_register() instead. Reported-by: Abaci Robot Signed-off-by: Yang Li Reviewed-by: Nick Desaulniers Reviewed-by: Nathan Chancellor --- Change in v2: --replaced s/clang(make W=1 LLVM=1)/kernel-doc/ in commit. https://lore.kernel.org/patchwork/patch/1442639/ drivers/thermal/devfreq_cooling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/devfreq_cooling.c b/drivers/thermal/devfreq_cooling.c index 3a788ac..5a86cff 100644 --- a/drivers/thermal/devfreq_cooling.c +++ b/drivers/thermal/devfreq_cooling.c @@ -458,7 +458,7 @@ struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df) EXPORT_SYMBOL_GPL(devfreq_cooling_register); /** - * devfreq_cooling_em_register_power() - Register devfreq cooling device with + * devfreq_cooling_em_register() - Register devfreq cooling device with * power information and automatically register Energy Model (EM) * @df: Pointer to devfreq device. * @dfc_power: Pointer to devfreq_cooling_power. -- 1.8.3.1