Message ID | 20230113063841.17191-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp121566wrt; Thu, 12 Jan 2023 22:56:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXur+8Ff8sULDCPxQgV+tOfxsGi0fwd7EbAsNn6MqFUy+55yA1JUIF6QbGRKv9En4pgr5imF X-Received: by 2002:a17:907:1c9a:b0:7c1:2f05:7fd6 with SMTP id nb26-20020a1709071c9a00b007c12f057fd6mr75318261ejc.39.1673592983655; Thu, 12 Jan 2023 22:56:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673592983; cv=none; d=google.com; s=arc-20160816; b=fDp18FCsKfvb6R68+xZJaNVo6NZ2MDv4ni1OupXzrAlaJhCoFvlTBBP2KGn/88ONDz BtSN74TgAQ0RlqwrW/408oAdMwDtZpaubTTtW0GXoGwTUDpcSPHXavfzsKbG29sxwJm1 ihfDLgiU6wVPDJF+zfRH4vhiD1udIWvARIOMBLRIC8mvxq+3r2PmUP2wSQQxI6sdt5bC ERc4kf7k1JhXS9WND/reefWh4z45cZ+hHhhFH7g0VFppx4OTSWp/E2g5dFLf9/QdNVRl eP/mIHAPma3UuTZlavlJRwbIlMSWF9Deuh6R9TltPGEUoLo10S1olMbkpcwh+iV/qVlS j9Qw== 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=6Oe5pngS4zjkmz1lYubpQMTIHz9uRDw0CU0YC0V6wD0=; b=hZVEsB2BXe2637vYnC3zGDCXAyXzje8fNeiBwDHw1g6brMuhIQi8vY4/I23ev+d5ZD /czpDkV3gfPAZ7Pv+1msOYz1giKDdjyL9gS75KtBgzIeh7iuGdSVsemRrz+7lXOJZP+2 iSObY6MHcqijewrB8jQvJfojQIvrksPs3XiNOXB8vu9J44jM+tjNCy7AjM2dTnJiDJaQ xFg6ZR1glL4OR+sW/i12zYWqRUBGqhqWcZEpVU5vWlxdO/yl9BDhzjHpsC2meKiukTPQ K3HoGSX+8Pxa/iPbF1/DmqHJNLmhC4C1JK3zKm3rJ3qzjgwYTCnFCrxg87HGAyXUGKWZ CmIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=pXvJWqLj; 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 wl14-20020a170907310e00b0084d34979430si13253391ejb.333.2023.01.12.22.56.00; Thu, 12 Jan 2023 22:56:23 -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=pXvJWqLj; 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 S237909AbjAMGzg (ORCPT <rfc822;zhuangel570@gmail.com> + 99 others); Fri, 13 Jan 2023 01:55:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230154AbjAMGyo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Jan 2023 01:54:44 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B333809A8; Thu, 12 Jan 2023 22:38:42 -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=6Oe5pngS4zjkmz1lYubpQMTIHz9uRDw0CU0YC0V6wD0=; b=pXvJWqLjv4lgpXQvPP6PGer754 sHhCKTNnwaUdJkSMgH0VikqgkymfAStvaxxiPA/nzBy5kBlDvkxO+ARZcjMi817vzN/mazkqxZ4JI fKYYMZ1ZeI/9vN7MFYM0mB+YQtavd14pD7gCMSJvcNs2jsDb1jqpv94Vc5s3wQZaUspBPnKofTM0l 6fwFG2x/9lVACroexRAruDto/ZT2RqfsdrAdA4b0+LmVXHnrEwGn2bEMmlZP/KAuHZa0xRXA9pog5 zbVdLhe1ePdvkGu83tMlzKtv1emnjMTD3+H6i4uQz7tTtX7xeBtepEfUxjJiCJo/rBuh+RjengYaB s9OojMTQ==; 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 1pGDi5-000qNW-SY; Fri, 13 Jan 2023 06:38:41 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org Subject: [PATCH] Input: synaptics-rmi4: use correct function name in kernel-doc Date: Thu, 12 Jan 2023 22:38:41 -0800 Message-Id: <20230113063841.17191-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754889436824786911?= X-GMAIL-MSGID: =?utf-8?q?1754889436824786911?= |
Series |
Input: synaptics-rmi4: use correct function name in kernel-doc
|
|
Commit Message
Randy Dunlap
Jan. 13, 2023, 6:38 a.m. UTC
Use the correct function name in kernel-doc notation to prevent a warning:
drivers/input/rmi4/rmi_bus.c:300: warning: expecting prototype for rmi_register_function_handler(). Prototype was for __rmi_register_function_handler() instead
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
---
drivers/input/rmi4/rmi_bus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, Jan 12, 2023 at 22:38, Randy Dunlap <rdunlap@infradead.org> wrote: > Use the correct function name in kernel-doc notation to prevent a warning: > > drivers/input/rmi4/rmi_bus.c:300: warning: expecting prototype for rmi_register_function_handler(). Prototype was for __rmi_register_function_handler() instead > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Cc: linux-input@vger.kernel.org Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> > --- > drivers/input/rmi4/rmi_bus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/drivers/input/rmi4/rmi_bus.c b/drivers/input/rmi4/rmi_bus.c > --- a/drivers/input/rmi4/rmi_bus.c > +++ b/drivers/input/rmi4/rmi_bus.c > @@ -285,7 +285,7 @@ void rmi_unregister_function(struct rmi_ > } > > /** > - * rmi_register_function_handler - register a handler for an RMI function > + * __rmi_register_function_handler - register a handler for an RMI function > * @handler: RMI handler that should be registered. > * @owner: pointer to module that implements the handler > * @mod_name: name of the module implementing the handler
diff -- a/drivers/input/rmi4/rmi_bus.c b/drivers/input/rmi4/rmi_bus.c --- a/drivers/input/rmi4/rmi_bus.c +++ b/drivers/input/rmi4/rmi_bus.c @@ -285,7 +285,7 @@ void rmi_unregister_function(struct rmi_ } /** - * rmi_register_function_handler - register a handler for an RMI function + * __rmi_register_function_handler - register a handler for an RMI function * @handler: RMI handler that should be registered. * @owner: pointer to module that implements the handler * @mod_name: name of the module implementing the handler