Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp247126rwj; Fri, 23 Dec 2022 00:22:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXtU+jhLKIIimLLtOFstFcXkhLVZ19qD+SK+m3fA++bFSaAWaub7hzwEWBWcoiYKg4VH82go X-Received: by 2002:a17:906:f854:b0:849:7688:3e3e with SMTP id ks20-20020a170906f85400b0084976883e3emr1052895ejb.44.1671783777177; Fri, 23 Dec 2022 00:22:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671783777; cv=none; d=google.com; s=arc-20160816; b=RBCDzWzucYz0kXGQ9cgggqOnShvQFTbRwEjKMy5dVwAM7Wbz+ePnZel/vqB0zuBfuF LS0wMR4fbUkHBQMS+8jxDJSMI58x1nm6diHnPFTio5xMgnUkH2f/DZgLKxBvOAQHZxb4 W61JZ+mtc6f7fgpfZPwNaLlfd1dqMhH21CX1OfS+4ddcnfbzb1+AkYe+CcEZB19GLFSQ 4ZJFBWLjEHHRFA4k8fEO1/fNoFSPbS+nC5Vw/PYor1bcV8sb337wlrL6HVlnw8GMhTOQ nJ3igYh/PH4MnUT8tRvk6xTPGzD/4Tfo/10kpmIUBlIf0nqGVFAdaVLsk6dVKYMrQL7C 7MPg== 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 :message-id:date:subject:cc:to:from; bh=PuF37nReiJ6GZ5xxvgU/F7/DXlB1qGkrsCGOtDKVsOc=; b=t7XkDuewjxieVCaN16MKOpTlOpaBanc+5g90JjONoSaFQgJ87lCUrN5cl71IeezqFI U3QKKfyyd9GlVA7CadZYR86tQV0wUKjVgnTn/8I719DZSR8hUyLavihjdgle6Lim7tdn WyFxCDToTNTUJpibDErc94UAsuP4OKHmkkZtkZethlSlNOArIptGvKmUyC9wXkc4IXfz 0zHT375IVXdUJdUBXkus5dm6r2QVORHcDTfx55PC3JAIYo6tygZNKyB7lfx9pz1jxkE7 k8SP1F7MS/3pDPvBcmA+WxGPH7HXfJVNCO/Gjh4K1ae/7rJHfrFkmVBcVSAHZE/J9aCn kazg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a056402359100b00461dc830100si2699842edc.452.2022.12.23.00.22.41; Fri, 23 Dec 2022 00:22:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230076AbiLWILH (ORCPT + 67 others); Fri, 23 Dec 2022 03:11:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiLWILG (ORCPT ); Fri, 23 Dec 2022 03:11:06 -0500 Received: from out30-8.freemail.mail.aliyun.com (out30-8.freemail.mail.aliyun.com [115.124.30.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 970BDB49D; Fri, 23 Dec 2022 00:11:01 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R741e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VXvsJgx_1671783058; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VXvsJgx_1671783058) by smtp.aliyun-inc.com; Fri, 23 Dec 2022 16:10:59 +0800 From: Yang Li To: jdelvare@suse.com Cc: linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] hwmon: Fix some kernel-doc comments Date: Fri, 23 Dec 2022 16:10:56 +0800 Message-Id: <20221223081056.88345-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make the description of @aht10_data to @data in aht10_read_values() and remove @client in aht10_init() to clear the below warnings: drivers/hwmon/aht10.c:87: warning: Excess function parameter 'client' description in 'aht10_init' drivers/hwmon/aht10.c:131: warning: Function parameter or member 'data' not described in 'aht10_read_values' drivers/hwmon/aht10.c:131: warning: Excess function parameter 'aht10_data' description in 'aht10_read_values' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3543 Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/hwmon/aht10.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/hwmon/aht10.c b/drivers/hwmon/aht10.c index d76f3441ecf1..9babd69d54a3 100644 --- a/drivers/hwmon/aht10.c +++ b/drivers/hwmon/aht10.c @@ -79,7 +79,6 @@ struct aht10_data { /** * aht10_init() - Initialize an AHT10 chip - * @client: the i2c client associated with the AHT10 * @data: the data associated with this AHT10 chip * Return: 0 if succesfull, 1 if not */ @@ -124,7 +123,7 @@ static int aht10_polltime_expired(struct aht10_data *data) /** * aht10_read_values() - read and parse the raw data from the AHT10 - * @aht10_data: the struct aht10_data to use for the lock + * @data: the struct aht10_data to use for the lock * Return: 0 if succesfull, 1 if not */ static int aht10_read_values(struct aht10_data *data) -- 2.20.1.7.g153144c