Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp48406ybi; Wed, 29 May 2019 16:25:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLxNEHRg3hRlKQQNMOiFkpshxqYH4XNe23KcMJkIxOTYGxP5SgYmAuVobPQHu2+m7KMJKb X-Received: by 2002:a63:4104:: with SMTP id o4mr642661pga.345.1559172325421; Wed, 29 May 2019 16:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559172325; cv=none; d=google.com; s=arc-20160816; b=aC34I2iw5EoZ5bSH+wJy201u18dKTMq6sn2852O6tJ6kMDf1vwMKmbP25YJX0QkoZE TSe6qlAxx6TB6x0fE+W1R74XQEmDEha01idWsA5jWMa/DBQaKV35tDpt9KpIj9XCP0r3 rL6p1l49EgB14AcYO7OAms8Fj5CC4CsiCg4NlE55jBqzEpTupL/CLSsaSGRYlMIxaZL6 ptgLFo/3TXdiUXCIZJX7LLqWlheLcnhIBj+Yg66Zgyk+Md1r1AgR0Q+5zwbgqQyYJFWn 41q6AokqGie6mnHVXPkjY3S0yl75/sSkA/ZupOrM1gftbYe+xLb8JKhQEjDdQXdXcAaM zUaQ== 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=jgwcv0yUHJkpC0RNxq8/GXr5590Xomrjfw0h2lyU8s8=; b=P1kMJNPV9P7GWT121D/UQ5FnKJVVnATcS9Uoj5Q54n8AdW4I+ZCvGlOiLwB/seMeWa VZDtfxPJ4brCN4SKULQysdfGIkDIc+QsbVOzOw8OazUAnp5ayaExvv8TsGZeVo+xrymt 2c1CeFcbcLzOVX8+YPqwrbm13b9voZXOL1zj2/S63cfFSyW5X8G4HSR3msiszmiqjHFD 2Y0tF5swulx9ngxgDWcpH3vTBqpWFW6qeNn6ePaudmmXeKgaiGZ7jbMhkO+Axtsw1vtl DpJgEB6NglEROm+dpcNGML+ggBN3VHZ2TEOiV/B5O27kT0f/EZuYSG6EFJFsODfo2R4p U1gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=UX+BH7bx; 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 r19si1369486pfr.231.2019.05.29.16.25.09; Wed, 29 May 2019 16:25:25 -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=UX+BH7bx; 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 S1726720AbfE2XYD (ORCPT + 99 others); Wed, 29 May 2019 19:24:03 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49076 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726408AbfE2XYA (ORCPT ); Wed, 29 May 2019 19:24:00 -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=jgwcv0yUHJkpC0RNxq8/GXr5590Xomrjfw0h2lyU8s8=; b=UX+BH7bxAGdPpgRPr+4Wfi/M/e gUSN0HtZRbzmEj3iknWkmt0iORwa9zyNrEnXdwCtLrrcjnsUf5e+vA3O5pL97m9ZGf7f6lHHb0seC /XJeuCtLfypo+nEl9jU3C5UFizNf4j7JgVug8TSApXwhbC4AgXFo53E3Ytu8POzgXkKwu1JSX5YYx vQ25Q+8KBN+TjFuEh77/K4SD9SKaHtbg0ov05JumZjNlyR5PKOIbdk/bRvIX4dzokj8NZXJ2L9e9W ZIGW1qVla9egUirg2uT6CbA5GTpCNhCxhEs37dRWCu9xtr9ZbPubyZlTngPQtIoyQBF0HwougulxC SerXiH2g==; Received: from 177.132.232.81.dynamic.adsl.gvt.net.br ([177.132.232.81] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hW7vL-0005Rp-Ah; Wed, 29 May 2019 23:23:59 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hW7vI-0007xk-T9; Wed, 29 May 2019 20:23:56 -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 16/22] docs: gpio: driver.rst: fix a bad tag Date: Wed, 29 May 2019 20:23:47 -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 1ce7fcd0f989..25e2ddeb4f31 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