Message ID | 20230113063831.16469-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 p1csp121563wrt; Thu, 12 Jan 2023 22:56:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXtTjRyQr/VeO0NheUI7gQSkFyMIprjaoM2/OuqT8bNHzC6bc3FZjCPw9PS81bCBWmxoBsdb X-Received: by 2002:a17:907:8b11:b0:81b:fbff:a7cc with SMTP id sz17-20020a1709078b1100b0081bfbffa7ccmr68577899ejc.18.1673592982479; Thu, 12 Jan 2023 22:56:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673592982; cv=none; d=google.com; s=arc-20160816; b=S9duEOOCb0mL+ol6/GkMBjwf0WEKxCNb4jN9MnQeKjtwbX7EmaXiRd2ddpry9hQKOA lg+r8L8lHcEWUhn57w4Z61toeoogDyrbGmjRuFfEizAZQwrSimBfsI2i+exbVyJrIPDZ s3fIqkiX4bib/k2GrlT6NndsydWnmWW3Xv5oVZDBjhDizmNDLxkv6/47qqO8fktC4/Zq 2+qJRrf3RVaweuR0MSquX3MulmjPNrEYm1c8QCZTqUBFy2js9qoMhDwxVoNRUaSYYjxO 8ZgHH4WEv7mYzy9mqJdjBcDjjzIXl2kL3oRkdLDMslkDqHk2g5Te6DoPn8xQRQl0FwNp gLEA== 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=bxqKt58hvR1yu9IqldV+R5b5cGD0Xza3I0u2tbjL9Vw=; b=wghC++LK8qeC7GF83HpyPm+e4JXThMUOBEml+5vi8++9vpHQVG0iR3SuZ2Li1AX4l4 TGlM8Z4FqJfquSpO1tGoFWWThbTGmn1PFylLh2Q2ibWinlTZVr9CReit4kWcBaJtJMYY A+WxbOeRcSsUelmhBtW5YoGJ+xBpg7mnkXCuyVAoEKBXvk2ITbywHB99fYkhA4WNFC8Q vGz/Fsv45cfjm4DvlS78IVkwaTHHxfKWrm/rZmw71n+Dicf+tcAP/yfgFu9AYt2bh4Pe O/WXL7U/9cS4gaEThA137bmfBpqp1+d8FcdPqaNKXX9SjlU8uykP5RVWMim0OG2Qz8XM AehQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Wh+nfVSN; 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 be7-20020a1709070a4700b007c11e5ad98csi21331563ejc.352.2023.01.12.22.55.59; Thu, 12 Jan 2023 22:56:22 -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=Wh+nfVSN; 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 S234718AbjAMGza (ORCPT <rfc822;zhuangel570@gmail.com> + 99 others); Fri, 13 Jan 2023 01:55:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbjAMGyn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Jan 2023 01:54:43 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB92A81136; Thu, 12 Jan 2023 22:38:32 -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=bxqKt58hvR1yu9IqldV+R5b5cGD0Xza3I0u2tbjL9Vw=; b=Wh+nfVSNf4NbvGaGxlIHDg4IAB mcDVwoYf8O3L82sKpPNQNfs/KGLiyCheywd8BkTLRhOhZ4qEsCbqApFsHIUvUghkJLUU1u04m5z2u EyjwGsgmzx5x6GQj46Wf1LmS525inrEGIo8oLi9b6qKjN0txyJ0YqxtTUk81Dxbv8w3vGah71KQV3 /nk1G743QDnhWrJAPAvZEXpTZoyl3OPKB08GUf+D6m39j6w8xZ5l3krqBt6DLPdJc0Gssi3Tucibe SnJL7wfswZ/oc72XbYs9xVQztuSCfn7TRzSTEomlLDMFZqUvI7ZGnYjJDI73clyluJiqtwpqDt39l ugg0jbQQ==; 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 1pGDhw-000qKx-DE; Fri, 13 Jan 2023 06:38:32 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Sebastian Reichel <sre@kernel.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org Subject: [PATCH] input: cpcap-pwrbutton: remove initial kernel-doc notation Date: Thu, 12 Jan 2023 22:38:31 -0800 Message-Id: <20230113063831.16469-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?1754889435128944176?= X-GMAIL-MSGID: =?utf-8?q?1754889435128944176?= |
Series |
input: cpcap-pwrbutton: remove initial kernel-doc notation
|
|
Commit Message
Randy Dunlap
Jan. 13, 2023, 6:38 a.m. UTC
Change the beginning "/**" in the file to "/*" since it is not a
kernel-doc comment. This prevents a kernel-doc warning:
drivers/input/misc/cpcap-pwrbutton.c:2: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* CPCAP Power Button Input Driver
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
---
drivers/input/misc/cpcap-pwrbutton.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, Jan 12, 2023 at 22:38, Randy Dunlap <rdunlap@infradead.org> wrote: > Change the beginning "/**" in the file to "/*" since it is not a > kernel-doc comment. This prevents a kernel-doc warning: > > drivers/input/misc/cpcap-pwrbutton.c:2: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > * CPCAP Power Button Input Driver > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Sebastian Reichel <sre@kernel.org> > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Cc: linux-input@vger.kernel.org Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> > --- > drivers/input/misc/cpcap-pwrbutton.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/drivers/input/misc/cpcap-pwrbutton.c b/drivers/input/misc/cpcap-pwrbutton.c > --- a/drivers/input/misc/cpcap-pwrbutton.c > +++ b/drivers/input/misc/cpcap-pwrbutton.c > @@ -1,4 +1,4 @@ > -/** > +/* > * CPCAP Power Button Input Driver > * > * Copyright (C) 2017 Sebastian Reichel <sre@kernel.org>
diff -- a/drivers/input/misc/cpcap-pwrbutton.c b/drivers/input/misc/cpcap-pwrbutton.c --- a/drivers/input/misc/cpcap-pwrbutton.c +++ b/drivers/input/misc/cpcap-pwrbutton.c @@ -1,4 +1,4 @@ -/** +/* * CPCAP Power Button Input Driver * * Copyright (C) 2017 Sebastian Reichel <sre@kernel.org>