Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3951094pxj; Tue, 8 Jun 2021 02:48:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYWhR6E/0g7E24l3R+b6EbzBArtWyzwtl/lwIe9SnvWJb68XpcmHxSPoVnYmKeO02tqW7z X-Received: by 2002:a17:907:7ba8:: with SMTP id ne40mr22509464ejc.209.1623145737873; Tue, 08 Jun 2021 02:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623145737; cv=none; d=google.com; s=arc-20160816; b=qvs5U9ZZdmhybwwmRMSUgNW2XeqL175ftQ7jbz5zS9sJgtlLp0DxmuiL2j2SWV7fH6 +z47FrX+3DbqLZbf4WuCX5eZLulNBRsmykYknpGhFCMRcH/9IUFDvwArJslz3U4YWWML FSe16m5p8o+QRtp8axNK1136Wfo6Ic2A2xPAeCeTXrlDp3U2Oc8YLq1AWfZCe09IiWBz KTo460wfVXdKNN4KZy3H0NZdztJ5lhB0abxs1FfZe5bXqKeV6K2U6KTv73fHpKPakVcv AZAi9n4kxFJbnMQaaEYx5PJJLEiL/deoGgPKeNqLHfyo89dKTpsb3PRe3rPA0p7nc+6p HJ9Q== 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=KGCOJcPsKgFO+45dy6XKdwG77lBulYF4enuM2iA+v7Y=; b=oUNeh9xwvGdMOHo6ptmJsXVXfjrE6ENr5JLgb2Bfdx6VJQARF0i0m8wGjRRgyruFI6 q89+b6utQ2X5IvbziSKC1dHZWFl2g3F9juzKnTM/87nrXQdA9UaIpqIbJeQv+5EzvJQ3 4kwde5Tv2cclEzRHi+SZTFpja8qoPgoRI5hLMwAvdw3/U0Wqi49AnZv97fJwU0lU+sIQ UWIJa2OUYRUM54C52P1Die8jOdikEEd35wDd5ODWF1s3Li6Lv0OZyfAXpGJHUU2IWR26 62+8FmffBq6o8P7G0hVIcRocsDwVdY24suGQ5gMuBA9Mq+hN8yXeV3wubKmjCpRy3lqN uFiw== 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 i27si14100488ejh.691.2021.06.08.02.48.34; Tue, 08 Jun 2021 02:48:57 -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 S231143AbhFHJsf (ORCPT + 99 others); Tue, 8 Jun 2021 05:48:35 -0400 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:55796 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbhFHJsd (ORCPT ); Tue, 8 Jun 2021 05:48:33 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0UbkdQgs_1623145597; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UbkdQgs_1623145597) by smtp.aliyun-inc.com(127.0.0.1); Tue, 08 Jun 2021 17:46:39 +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, clang-built-linux@googlegroups.com, Yang Li Subject: [PATCH] thermal: devfreq_cooling: Fix kernel-doc Date: Tue, 8 Jun 2021 17:46:02 +0800 Message-Id: <1623145562-111662-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 kernel-doc comment to remove a warning found by clang(make W=1 LLVM=1). 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 --- 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