From patchwork Tue Jan 27 00:30:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 433097 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 0D1A314027F for ; Tue, 27 Jan 2015 11:31:00 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753431AbbA0Aa7 (ORCPT ); Mon, 26 Jan 2015 19:30:59 -0500 Received: from mail-qc0-f181.google.com ([209.85.216.181]:50806 "EHLO mail-qc0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752496AbbA0Aa6 (ORCPT ); Mon, 26 Jan 2015 19:30:58 -0500 Received: by mail-qc0-f181.google.com with SMTP id l6so9805990qcy.12 for ; Mon, 26 Jan 2015 16:30:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=dKbTHmZGkQDtI/c1s1I6RBVIeZFFrlUAOq2J24Go/vQ=; b=tF8TM6lz2TvOyvw3I7jHlcWWAmxDX/sAHwHnEpkMZNKoE2m212NRaycnCsGuVqGP/h 2DEFCPmDruA7F1OYfusCPTaKhL2aSSa26WaC5UaLBtWyxmzysNSGnOXSGCzzgJTAV7SL xkhXsip+52nj0Me7Q4D2OxVUzEOax7IBIlVwbxJxKSj0qGjhthDqym8L+bH6ad9tEGuw qCTOaiiWS76OQeScTIlciowFk0CMonE/koa9JvW0YPruXhYgBJa1aOsSmGTWbU0jWckr lpq6T17n+j94uraQT4ozBSIz7RL1LKSR2h1IAutRfsNMWXKZ4HybNisdVDBsI+k8kLzS COeQ== X-Received: by 10.224.124.16 with SMTP id s16mr2211665qar.72.1422318658034; Mon, 26 Jan 2015 16:30:58 -0800 (PST) Received: from localhost.localdomain ([179.159.11.32]) by mx.google.com with ESMTPSA id r9sm7950245qac.27.2015.01.26.16.30.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Jan 2015 16:30:57 -0800 (PST) From: Fabio Estevam To: linus.walleij@linaro.org Cc: gnurou@gmail.com, corbet@lwn.net, linux-gpio@vger.kernel.org, Fabio Estevam Subject: [PATCH] gpio: board.txt: Fix the gpio name example Date: Mon, 26 Jan 2015 22:30:39 -0200 Message-Id: <1422318639-20995-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Fabio Estevam As explained in this file: "GPIOs mappings are defined in the consumer device's node, in a property named -gpios" So fix the example to match the convention. Signed-off-by: Fabio Estevam Acked-by: Alexandre Courbot --- Documentation/gpio/board.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/gpio/board.txt b/Documentation/gpio/board.txt index 4452786..8b35f51 100644 --- a/Documentation/gpio/board.txt +++ b/Documentation/gpio/board.txt @@ -31,7 +31,7 @@ through gpiod_get(). For example: <&gpio 16 GPIO_ACTIVE_HIGH>, /* green */ <&gpio 17 GPIO_ACTIVE_HIGH>; /* blue */ - power-gpio = <&gpio 1 GPIO_ACTIVE_LOW>; + power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; }; This property will make GPIOs 15, 16 and 17 available to the driver under the