Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp205921lqh; Wed, 27 Mar 2024 21:55:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUMDHk8hxutxA6SQDyalr5VXaz5Nk49nIP9hWhJ7e4jhfdGo9/m9WiAFxCnBRh5fRZmdtbhjCBrJZNaCiLt9eCtsx9stSiq9dqhBTkN+g== X-Google-Smtp-Source: AGHT+IHuPyiP94Am5MSetxEzzQrNEagRzKlRARNwp/YUokYpKxPtJm/c7xdunRBkrXSrI2rpjRK1 X-Received: by 2002:a50:d58a:0:b0:56b:9ef8:f656 with SMTP id v10-20020a50d58a000000b0056b9ef8f656mr1144077edi.7.1711601723719; Wed, 27 Mar 2024 21:55:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711601723; cv=pass; d=google.com; s=arc-20160816; b=wDdh8w34Q0U55xFHjc9VgeD10tSgVWvHUrjN7mdqftA3s1ULiQB8/DFNFXMc7vAAsx nWIqeei6UtJxaWiAU7CImEP9K70xyL6CQmfiVI+KSshkPahH8nB2rw7mYKteiUhE+TgL wPL+lK3SmiZjBG+6Fq9cM4kHmjYLJQe14gCiBfmnRnrGpMSkpWGiIr82586tr7gbqjuA tljzcIOFQzpl99+FSDj1ZFFakD/nqpfcPOrMvKR8nbs5sG32ASVTnDwKYoU99tmR0TtU OfOe0HdIgB6NQy9lWymjFHMBa1slq577abQDCbGjrmzyJBJGEf9ene/9gq0OyyJdyJZU aTxA== ARC-Message-Signature: i=2; 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=OQoilj+soa24Mgg+p59BIgshZBpGmcYgdkwIwgfwOhY=; fh=Q3ZyPoEtSKjTVv3vOOneO9OlG0VyZvNShV69hSV//og=; b=umdZMua+Lfslc3vMHAxzREJa4LYONptCGeg/c4FFiVqfpJsdk+A80yPZdVauuMBBVe 8maQQtYHhn+SAPlXYt1FxsRwvgh9/MGVDLp4EqjA2ykI/kC7J3nEgEhoVrAsH0NQ+nN4 2wXrCarc88jMsGiNbRbcTxjQJDEHI9g6exC1xnS1USGrbSpBQzs1Gant1VT75N7cfoSo Bk7cozVy6UeOixHmIdVwBcPvstnOFe0AXSPNeTxGfdhh5ic2ufgMvmQPpw3KIf1mVS2I PqKlWmRESi8T1vaXczft4Vheq7jzGODC5u+9HzXiuSn4Zimb86DhHVjqWBqaMMgGlqC0 fDgA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=30zK5pRp; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-122412-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122412-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h9-20020a056402280900b0056c07c68aabsi358428ede.380.2024.03.27.21.55.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 21:55:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122412-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=30zK5pRp; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-122412-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122412-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 724A91F2A690 for ; Thu, 28 Mar 2024 04:55:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F0AE3FB90; Thu, 28 Mar 2024 04:55:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="30zK5pRp" 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 58369A92E; Thu, 28 Mar 2024 04:55:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711601717; cv=none; b=kM/xxq8sL6MNe/au40ORgGn9WdtShojRuvAcsx/5Wd1C59s/3TBI2VgUiB+cmqfZ+3uS1HYmxBRa0oj8zV41cusycEaZ01OFg3cn2mWiVCvZP9IZST9y6ByTUqzqmM6ZPXCKbgU+ssaqSIcFQ6Q7BgFBob/8DfSAtMbZeK6aKys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711601717; c=relaxed/simple; bh=3dCOe5qEg8LQcdTQOWQtPpxzFP1h9Y8FsuBoFGQ6Coo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=V90QClpnN76GCVY1YxYw4DisQcL05Nx+oD/UDu+IGjVO91cwws9ClyMmIXLArDsqA9Yw9mlUHQI0wdG8ksS1sOmSUPU3NnroAMJH5px+VekMP25q/y6dQFD2KMPz/DYykgw7OI+5ECeON8PWzyW4/xuUroevwZ+KI3ibOCT9s64= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=30zK5pRp; arc=none smtp.client-ip=198.137.202.133 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=OQoilj+soa24Mgg+p59BIgshZBpGmcYgdkwIwgfwOhY=; b=30zK5pRpPo4t2FUFE6RwogSfTy 8SxGGahLDFwId2tyLuh7TJTRInnHjxkCsyFTiVZxvUU6/qjGxAuXqpx5Q14ss2HM1qMqajJU7lTjf qEqI06Xbg5pzwB16alY2R11F/Q27W/Dg6b0crMON3Ps6ilSk4yREFmg+6Luxgwwi81EdRUAw6nxhv +9pLuV6jPivgSETJHrl1GwAeUNGLFF9tt3wRHf3rGz4zimkR9BtI1HxzmzeGwGEz61jQ/4AkHozMR RtwIMG/YpFvfb3Oun2tBkMyINgvuUiX8QmAKF8+/vRA4qfs2lmgAtUStCnPT9jVFFwlDNYi5EsXXM WMRAm1zw==; Received: from [50.53.2.121] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rphnH-0000000CTA4-3RzR; Thu, 28 Mar 2024 04:55:15 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , linux-pwm@vger.kernel.org Subject: [PATCH] pwm: add missing kernel-doc for pwm_chip:cdev Date: Wed, 27 Mar 2024 21:55:13 -0700 Message-ID: <20240328045515.15874-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a kernel-doc description of @cdev to prevent a build warning: include/linux/pwm.h:308: warning: Function parameter or struct member 'cdev' not described in 'pwm_chip' Signed-off-by: Randy Dunlap --- Cc: Uwe Kleine-König Cc: linux-pwm@vger.kernel.org include/linux/pwm.h | 1 + 1 file changed, 1 insertion(+) diff -- a/include/linux/pwm.h b/include/linux/pwm.h --- a/include/linux/pwm.h +++ b/include/linux/pwm.h @@ -268,6 +268,7 @@ struct pwm_ops { /** * struct pwm_chip - abstract a PWM controller * @dev: device providing the PWMs + * @cdev: &struct cdev for this device * @ops: callbacks for this PWM controller * @owner: module providing this chip * @id: unique number of this PWM chip