From patchwork Fri Jan 13 06:45:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 43040 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp123577wrt; Thu, 12 Jan 2023 23:01:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXsRCuPH5Jetev0ank1PDIlmUPc/w6ngiUmaLcbyKAN4BRadBvm8dt2SvWhTw6hGcvglhXP0 X-Received: by 2002:a17:906:1b4a:b0:84d:4e4e:2c7b with SMTP id p10-20020a1709061b4a00b0084d4e4e2c7bmr1858279ejg.30.1673593312495; Thu, 12 Jan 2023 23:01:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673593312; cv=none; d=google.com; s=arc-20160816; b=YfADwrPeAWFeTuFJ/Dk+TzO3ssLJo/86E6DqHXmgyXN+dyVtHcls5OVQewf4h7aU/I 7dOLthbc2ahckr4ZmEJBPk93MQ604/XxAWHl0kFOUNNzPE0G6+RjKm0XeMsABgtNlZg1 24MusFimWM8cyKOg4QqpYZ+xoYTFeZppvXlmLxXXT0/XJRVxlHQpTbDOXK83T7U7MhZU mX9qsHHpG45d0J/0H7kW3yoSsFvPK3U5D6sOOiAh0ddu6YpEg9a6OfAafEHcXs+tMFrC ohOzx8U9H3IaOGVRL70sEBJZ7hKeMPPw9sn2yH9FvxlIjbC6yIYGarexahSYPgGeZTHD 7XeQ== 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:dkim-signature; bh=fqIqaAISbuV78gm+ZKDzeP4zhLAE8UJMsDX1PuhwLYM=; b=mAUO1RD2eStivDtxfH+rJwBfZfbS9kJdR3UBmOSoN9SoNh2Hhx55UKa96ht7O/Rcv8 ttejMVbSKsswfQSuB8t/mKIHIlc+nVuoYa11WsCFeC+DlFIIWhyC4TupwBFhNK6FMUx0 TLih2L3nr9h+K7GnCLmr5AWfIcF49ogzczxR2a8KdwCRqI0yqy8q+AW62DhwLhvc7c2D ZMUeY4ZoXRd8IN0KC1wZ5Ha1I2201K2CwrAuriG0YEVNVwiw8l4tSN1tirCi+OEFNClN dsdCoPjycaCHW2uPkP1HJLpV2TSrmdFEbUHj0b3F/IpXl86PfZdAH5qD4hkNCfi+S+YW cv2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=PF+9Lz5u; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc37-20020a17090716a500b007ae24f7774bsi23315183ejc.168.2023.01.12.23.01.29; Thu, 12 Jan 2023 23:01:52 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=PF+9Lz5u; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240908AbjAMHA2 (ORCPT + 99 others); Fri, 13 Jan 2023 02:00:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240902AbjAMG72 (ORCPT ); Fri, 13 Jan 2023 01:59:28 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66946728AC; Thu, 12 Jan 2023 22:45:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=fqIqaAISbuV78gm+ZKDzeP4zhLAE8UJMsDX1PuhwLYM=; b=PF+9Lz5ubQXlPIM+3pSVn+uTfE 1xpi3CoxRQru/l6Jc/B6b1uHzY9agon7SxoUjud1qzx/0Kt6/6N27SlmayD3EI/uuH/qYR8B4844u 3UDHrW1POSS16bZ97YxrTJcGpQ5OIj/vjEGr5Z721DQtisFdH3PNYU7M5lTwAGW3HtStpZz/Kpbg0 dKGi7HhfPIO4W4fB/Ueyy/CIHETkTHlqj3THiTM9+ReAxYhHkxsmxybG29p21HcDsi59wulU7bv6O 5xqgZTQt+F0GyK+NU4hSAbqaGU00jaeqxPRCkZxeo1IhamuVWFDpQpDrUXZdy2bhtgOpbFJHZzLth jaWG2Fkw==; Received: from [2601:1c2:d80:3110::9307] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGDp0-000sLV-U2; Fri, 13 Jan 2023 06:45:51 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org Subject: [PATCH] hwmon: (hih6130) fix kernel-doc warnings Date: Thu, 12 Jan 2023 22:45:49 -0800 Message-Id: <20230113064549.21289-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754889781168374714?= X-GMAIL-MSGID: =?utf-8?q?1754889781168374714?= Use the correct function name in kernel-doc comments to prevent these warnings: drivers/hwmon/hih6130.c:164: warning: expecting prototype for hih6130_show_temperature(). Prototype was for hih6130_temperature_show() instead drivers/hwmon/hih6130.c:185: warning: expecting prototype for hih6130_show_humidity(). Prototype was for hih6130_humidity_show() instead Signed-off-by: Randy Dunlap Cc: Jean Delvare Cc: Guenter Roeck Cc: linux-hwmon@vger.kernel.org --- drivers/hwmon/hih6130.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -- a/drivers/hwmon/hih6130.c b/drivers/hwmon/hih6130.c --- a/drivers/hwmon/hih6130.c +++ b/drivers/hwmon/hih6130.c @@ -150,7 +150,7 @@ out: } /** - * hih6130_show_temperature() - show temperature measurement value in sysfs + * hih6130_temperature_show() - show temperature measurement value in sysfs * @dev: device * @attr: device attribute * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to @@ -172,7 +172,7 @@ static ssize_t hih6130_temperature_show( } /** - * hih6130_show_humidity() - show humidity measurement value in sysfs + * hih6130_humidity_show() - show humidity measurement value in sysfs * @dev: device * @attr: device attribute * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to