Message ID | 20231223050621.13994-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-10301-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1497931dyi; Fri, 22 Dec 2023 21:14:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWgkTiSDpJ+qoaZbykB5jnXNgs6L9JNP+znudIQjbLPLp79mPB1l6uCcBJkYpBFKf6+q1M X-Received: by 2002:a05:6358:63a8:b0:174:b807:1208 with SMTP id k40-20020a05635863a800b00174b8071208mr2058085rwh.62.1703308461072; Fri, 22 Dec 2023 21:14:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703308461; cv=none; d=google.com; s=arc-20160816; b=JDc1vwH6Uyp7dgSNV6HwZPzxDnGQkV6wQ609KEpFnPu7PZsr3Bq7hg0kR2AWjXqhzi ZQat30qlM9rU6xeNeDJLcFxsjLXGIf3h0MX6+fsYzkYAyB4yh3Tuu10+HbyONpmnRUtf z65oYQXfy15fKXPkugRvSMX7Yd9mXAr53UUA5+ItVU2w/guRHXF13Wgnit6iUg+uauNn SCplBq7kCkMswCqA1xopeyiTpaxRSUlgiwBBG7J+3ZW2gzYxO3qut3q/q0mLnBglcOF0 So9t/WvxWksBPoEPbRMhY9UjrDHF6IA5cHWh6UfLcCYRGulFmH2afjHMCSsWYqxuJjMm 9+MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=V2ueZ00Y4pSQAAXdW8Qi8wcTt0Tuy56H5bP3lQmJS5Q=; fh=w8ALaRRZCVoz3g9qki0Yoglc6ebtXj3dYlRYiscbzQY=; b=EP4kqLKzGIbJ5DcUpyJu2S/1AqWQNcAZ1vh8In9I2OuJP6OS+n7/VBuMOsBIuiMGRe 1kuFVDk/rJaWdckAw/7C1yG2v+GsEJSsT1kpIaqb1w44/w7bKANEps3C7rS6ZTvIZBgO LSu9My1gvIG81qXDBIL7ZiO9vsmTOkCJgkE6Fxg0o7TwciDy++DvTrqZMSwwrA1Ovp7D lGrGD1IssR/WUKtB6FfYZ9wS0RkOxkBowCPmvuGkauzxeUJhqOoCccNwc2JNcGC0iXri py3cg/9rH/2PrQxCRKW6y5oGaT8gzzPqqDe7/csYRXrg6d9hvXfXMusEEf2mC2pIlBu1 1ydQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=aeco1Yus; spf=pass (google.com: domain of linux-kernel+bounces-10301-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10301-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x10-20020a17090a788a00b0028bbcbe5414si7602139pjk.45.2023.12.22.21.14.20 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 21:14:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10301-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=aeco1Yus; spf=pass (google.com: domain of linux-kernel+bounces-10301-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10301-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A7DB2284D55 for <ouuuleilei@gmail.com>; Sat, 23 Dec 2023 05:14:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CD6D4A3C; Sat, 23 Dec 2023 05:06:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="aeco1Yus" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 848E4C8ED; Sat, 23 Dec 2023 05:06:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=V2ueZ00Y4pSQAAXdW8Qi8wcTt0Tuy56H5bP3lQmJS5Q=; b=aeco1YusuIy0pKsk68tqN5IIPo BVaanFizpuoiYw9FtJ5xH0SFbtNq+gnNEE7iaYHVF6RdO611eVfKsAR98s/vo7jy2PxasP6vQynnb uktPaR7XrfQEvlifVFMPTkHYXiEMhNxJuLWdXUbRd5zjuWXwvBss/6nLIteWKednggI9GfwWsIIzq lhcr/CmcHdqtmbmoNLmFqSvAn1E429biZ6qnsprbEAki8mn3K8eqdy6Obq203oyr/NaFdSK8WKSXL IoFUgOyy8Hq0qFcinwOT9coXpf/4vw0MtAKFXRFO0kl46O1z10hpFo8xPkmzXB4+epEIMvFtprsQz EPmmHYNg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rGuDO-007Oiv-0D; Sat, 23 Dec 2023 05:06:22 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Thierry Reding <thierry.reding@gmail.com>, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>, linux-pwm@vger.kernel.org Subject: [PATCH] pwm: linux/pwm.h: fix Excess kernel-doc description warning Date: Fri, 22 Dec 2023 21:06:20 -0800 Message-ID: <20231223050621.13994-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786048372502583933 X-GMAIL-MSGID: 1786048372502583933 |
Series |
pwm: linux/pwm.h: fix Excess kernel-doc description warning
|
|
Commit Message
Randy Dunlap
Dec. 23, 2023, 5:06 a.m. UTC
Remove the @pwm: line to prevent the kernel-doc warning:
include/linux/pwm.h:87: warning: Excess struct member 'pwm' description in 'pwm_device'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: linux-pwm@vger.kernel.org
---
include/linux/pwm.h | 1 -
1 file changed, 1 deletion(-)
Comments
Hello Randy, On Fri, Dec 22, 2023 at 09:06:20PM -0800, Randy Dunlap wrote: > Remove the @pwm: line to prevent the kernel-doc warning: > > include/linux/pwm.h:87: warning: Excess struct member 'pwm' description in 'pwm_device' > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Thierry Reding <thierry.reding@gmail.com> > Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> > Cc: linux-pwm@vger.kernel.org Oh indeed. Fixes: f3e25e68ceb2 ("pwm: Drop unused member "pwm" from struct pwm_device") Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Thanks Uwe
On Fri, 22 Dec 2023 21:06:20 -0800, Randy Dunlap wrote: > Remove the @pwm: line to prevent the kernel-doc warning: > > include/linux/pwm.h:87: warning: Excess struct member 'pwm' description in 'pwm_device' > > Applied, thanks! [1/1] pwm: linux/pwm.h: fix Excess kernel-doc description warning commit: 2c396fceac256ee30f7f45b24d2e3bb64f0c9294 Best regards,
diff -- a/include/linux/pwm.h b/include/linux/pwm.h --- a/include/linux/pwm.h +++ b/include/linux/pwm.h @@ -69,7 +69,6 @@ struct pwm_state { * @label: name of the PWM device * @flags: flags associated with the PWM device * @hwpwm: per-chip relative index of the PWM device - * @pwm: global index of the PWM device * @chip: PWM chip providing this PWM device * @args: PWM arguments * @state: last applied state