Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp529461ybi; Fri, 7 Jun 2019 12:06:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7SmVjZLhp8Aw8UXnyJ0Mg/wOLd3w/FyKOTfvfF+k6Jki+C0RKIhs2E9bbopLn54E+W1zf X-Received: by 2002:a17:90a:cb81:: with SMTP id a1mr7299555pju.81.1559934362481; Fri, 07 Jun 2019 12:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559934362; cv=none; d=google.com; s=arc-20160816; b=rRNaYoa2fUGlcKm9iYktMUV2KryPtq90D9JEhVK1YkKsd0Cy1yxA4RiJ5abWFRc4SA wmO88NADtYWojRKgKY2sW7nwarL85uoo0v3IdtGfBQMQjWRpMFqGpg/FjwEXEPNem6VK IuRibF3EM3yi1dyv2s5vJvXrz5HRjZt3ZmmK//YFi0mGfEv1hG7dqjfe5KDaIR43rcIP q3Dx3axs0LjKSLsAFUzxgHTzZV6MIoiQ5f80nP+1rvjHnz5MQbVgJBTGGqtdplWPcb3Q TSNFmBuNsVn3BIAlj3C3XsG7P3zB9CUNE5FT/jOz1sU4cn9Z8DenbHWIsZTfcCSy8xDf SfGg== 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=Lo8dmgKavRZx3/Rgbdh06C6ylbBA9IHDb2ppqfvToNgQOrKcOIamPgh25RkeVBumVJ mtlnztxaXY1YByEAjqzJjvqrPvVvFhrAkS19ZbwfnvXX5IJ91xCeoza3obnoLjT0ZAzX Xj3yAj6ip9CrreQ+p16BflfMrLbi4Cof99ukdFoAaHMrL9n9UFqKvAt0tVOrWDfh6J/V yq+HVw4UWuoTPqctb+iWAJQAHAFc33CYRlQtaSg4POK/jQS4j9yxzTmWWQI2oqcv01V7 EWPIhkyG9eCZtF3izGFmOrZlKMvL8MCyNEqtGWME8teMc/Qam9tjSapye1HZXt1kPvVn yFZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=raMDeqoT; 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 n2si2911844pgv.394.2019.06.07.12.05.45; Fri, 07 Jun 2019 12:06:02 -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=raMDeqoT; 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 S1729883AbfFGS4e (ORCPT + 99 others); Fri, 7 Jun 2019 14:56:34 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42284 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732051AbfFGSyk (ORCPT ); Fri, 7 Jun 2019 14:54:40 -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=raMDeqoTfqqEQGzpZlFQZ3SRGn 9g6TQhLsjS/gjBh+2U5mHsW5a48/kKYqXf8f2krjuTj0AMcBWApyIltl2IMJPKmEtp5ubrrO2w443 yxDqf2610IrosbWMzgfADTAXtP2s3i+qU6jLJK+ej0p7628oQjWMpKzvrmpv8gxNav+3RjLfHIEQE m2Y/x0GTTSuyzqwimmuKxPNWRx5218qE3o9SAPYK369vWKVrV540ru4u82QF/pQ2YRmBkZhYwlPLm zIo7eVcxkBSXteMYeGd6I/9YBnd1DVEgQk3yRd4AmS/CP8XiU4c4RbYLlU/nBYcNARduXXf+L7DjY nDo8tt/A==; Received: from [179.181.119.115] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hZK0d-0005sg-KS; Fri, 07 Jun 2019 18:54:39 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hZK0b-0007F2-F2; Fri, 07 Jun 2019 15:54:37 -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 v3 10/20] docs: gpio: driver.rst: fix a bad tag Date: Fri, 7 Jun 2019 15:54:26 -0300 Message-Id: <123b42e77f9c1beadfcf7d93cfe1d5e3319049c4.1559933665.git.mchehab+samsung@kernel.org> 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