Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5483853ybi; Tue, 4 Jun 2019 07:21:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkxOdCL9yLeVM9DvUDE/3WrIAhRxF31YKM+1ZqfYKJJ6Lustma4mJPFXB4q8zVnOZbzwj9 X-Received: by 2002:a17:902:2be8:: with SMTP id l95mr34773268plb.231.1559658074118; Tue, 04 Jun 2019 07:21:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559658074; cv=none; d=google.com; s=arc-20160816; b=lSalmjWHs3Lhj5ae9/TYdkaenUmbaH2r15ygLzARzLWWRJvv5viw+FlxbzkG+9+Vhb TtdFw5GQsLnkfoleTsN2yP6/JamXEsWVFQVvt5fHVwEelm9I5X0AT5cyXE9NEMkxcykO HQUl/uhxN7I2eoT8/JnFGXiEhLDNMXhOFK+x2mBMPxseuA8NIoQTN70r5mWwib8X3Ni+ Mj7VQR/jqzzhHLw8ZG+3CkB0/t5bCNxxWlB+fXugrm/52J5+S9AkBspIqV2TprP0KkF0 nqaDQSefU75OigPBPilflwBi7IaMgfbntLyCDxl1MAElikyx8v3FUIEOIr7pe7SycrkK nd8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=H6oI0955g5OwBziZY2JIsVDVZT27HDY0T4qKzfaJNc0=; b=kNzA+mSYxpVIIFFuEO3gVI7lo0vpKFDGo0P+1DiOTI5Tai9kkTy5tY62oVrrIZe69m S8v61QnkdZuogek35WW3ljhCHh33fNC3joinzyO7l0aDSEdDT4BQUdMCYONUDkQuYq/E upSkNTD8AkjtM1thhxO0zI2b8vCbKqh9B/mAvNS1lU6EsFIL4WT32cr69Gjr7SBGCMKc FmEIdxhpYexQdBdnDNazyv68U9bne+DRykZHbZbx2ncbK13pVclTWTkmgjj7QEONPtir iyeiMOPItEaMCOEoAA7bHgEEnBdkj6LassAXtsxwtgc3P8nk2JHqUIDGVBVUKZQJKhG6 dquA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ucmBl3bx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s73si25997797pfs.15.2019.06.04.07.20.57; Tue, 04 Jun 2019 07:21:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ucmBl3bx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728040AbfFDOTJ (ORCPT + 99 others); Tue, 4 Jun 2019 10:19:09 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52500 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727458AbfFDOSD (ORCPT ); Tue, 4 Jun 2019 10:18:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=H6oI0955g5OwBziZY2JIsVDVZT27HDY0T4qKzfaJNc0=; b=ucmBl3bxSSFbrrNTNO7ei2TrgS QwvBg4iR11/XKuSobf17m4vaMSiPWBbHPXZAGS+vShib7UUZHikrJXgdWbEprcw57k3KzA3K+XNFc x3Cn/DVPuCi60MX3cbClwu+0YpqoRUu12BEaWE6g4j0tZNHCeGzAdUBkG8UY2LGT5xpyCyZh5NxYq Y4SA5cLvzMc4QUhkY/7kbd/a1mApWBKDkaUEKWO7ByZuLirrrWT0bieQtQ4YXWSAJdb7i+PGl9C3b kqpX+K6tJOHa2wRe/HCKEbpnhu5ZMXanE/R9bA/Nw5ZaiCqmt9ygurlGqEDel8PNjZ0XIdjezRwZH I82PlnbA==; Received: from [179.182.172.34] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYAGH-0001Ro-UF; Tue, 04 Jun 2019 14:18:01 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hYAGE-0002lN-Q3; Tue, 04 Jun 2019 11:17:58 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org Subject: [PATCH v2 12/22] docs: gpio: driver.rst: fix a bad tag Date: Tue, 4 Jun 2019 11:17:46 -0300 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With ReST, [foo]_ means a reference to foo, causing this warning: Documentation/driver-api/gpio/driver.rst:419: WARNING: Unknown target name: "devm". Fix it by using a literal for the name. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/gpio/driver.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/driver-api/gpio/driver.rst b/Documentation/driver-api/gpio/driver.rst index 58036c2d84d2..4af9aae724f0 100644 --- a/Documentation/driver-api/gpio/driver.rst +++ b/Documentation/driver-api/gpio/driver.rst @@ -418,7 +418,7 @@ symbol: If there is a need to exclude certain GPIO lines from the IRQ domain handled by these helpers, we can set .irq.need_valid_mask of the gpiochip before -[devm_]gpiochip_add_data() is called. This allocates an .irq.valid_mask with as +``[devm_]gpiochip_add_data()`` is called. This allocates an .irq.valid_mask with as many bits set as there are GPIO lines in the chip, each bit representing line 0..n-1. Drivers can exclude GPIO lines by clearing bits from this mask. The mask must be filled in before gpiochip_irqchip_add() or gpiochip_irqchip_add_nested() -- 2.21.0