From patchwork Wed Jun 1 13:08:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 69033 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp85496qge; Wed, 1 Jun 2016 06:08:28 -0700 (PDT) X-Received: by 10.98.36.140 with SMTP id k12mr8610782pfk.118.1464786508728; Wed, 01 Jun 2016 06:08:28 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 80si51035651pfw.133.2016.06.01.06.08.28; Wed, 01 Jun 2016 06:08:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752029AbcFANI1 (ORCPT + 4 others); Wed, 1 Jun 2016 09:08:27 -0400 Received: from mail-lf0-f54.google.com ([209.85.215.54]:32945 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751570AbcFANI1 (ORCPT ); Wed, 1 Jun 2016 09:08:27 -0400 Received: by mail-lf0-f54.google.com with SMTP id s64so12503162lfe.0 for ; Wed, 01 Jun 2016 06:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Vyz03E9srM7LJRIJ4nseJGNxyruq1Pt4CTIjN25JiEk=; b=GB/6EXoEfXHwvorPSlXyooyM4PWawK6hdLqMBDd+bEOqZgLUhSiiNgBAsWPGzFWL01 ya0OaC8s7qX/sFbs7Mv6w9CKSVsTlOjsVujNp9EMiV2xV+BTv4JuHburyqpl3K5F8c/x 88PsT29z4Cl2/m5R8fq7491SrlbMYq3d9Bhfk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Vyz03E9srM7LJRIJ4nseJGNxyruq1Pt4CTIjN25JiEk=; b=LHYLoP4edDBpeSLHXjoLVle1WgUKb7OYiJMVSkGPBfNhO6ZlWMw83vcqxHU84EtqZN p0QcfbDf1USguAPT3wJyqMwjYhKFTRjRQ/ZNTD5z3DAVmo6WuyJrXUMXIIC19t1TKzV0 EnBAz5QdmjOsoj/Xevfb3fwAPoJ3vk3D6cL8NCGnqpTAc5ZWhnr4fGyiW3QZrVxoRZdk WmaRqCBTg20f+cMXcHYIpsNTc846eqJlNRT8JjlR4CvtKHMLvDQF5np9AHPFObUpaPaX rbgllVqhc2tktNJ/cWDkHdEwXywdtxn6CHEJmHE4M4E/y4Z7kiDsbdRtpZt8eV/SSyFX 1KYw== X-Gm-Message-State: ALyK8tKZ5BHzGdDccHnN5ar/WE3uiaj1+yJ26epCYIO/3A35FSu50+bNlJ/IlvVyHwiW8F3Q X-Received: by 10.25.25.146 with SMTP id 140mr1703929lfz.5.1464786505101; Wed, 01 Jun 2016 06:08:25 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id n4sm1324560lfa.7.2016.06.01.06.08.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jun 2016 06:08:24 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij Subject: [PATCH] gpio: fix documentation for UAPI Date: Wed, 1 Jun 2016 15:08:21 +0200 Message-Id: <1464786501-11293-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The kerneldoc was referencing the wrong flag names from an earlier draft. Fix this up. Signed-off-by: Linus Walleij --- include/uapi/linux/gpio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.4.11 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/uapi/linux/gpio.h b/include/uapi/linux/gpio.h index c45f7a0a453b..21905531dcf4 100644 --- a/include/uapi/linux/gpio.h +++ b/include/uapi/linux/gpio.h @@ -67,13 +67,13 @@ struct gpioline_info { * @lineoffsets: an array desired lines, specified by offset index for the * associated GPIO device * @flags: desired flags for the desired GPIO lines, such as - * GPIOLINE_IS_OUT, GPIOLINE_FLAG_ACTIVE_LOW etc, OR:ed together. - * Note that even if multiple lines are requested, the same flags + * GPIOHANDLE_REQUEST_OUTPUT, GPIOHANDLE_REQUEST_ACTIVE_LOW etc, OR:ed + * together. Note that even if multiple lines are requested, the same flags * must be applicable to all of them, if you want lines with individual * flags set, request them one by one. It is possible to select * a batch of input or output lines, but they must all have the same * characteristics, i.e. all inputs or all outputs, all active low etc - * @default_values: if the GPIOLINE_FLAG_IS_OUT is set for a requested + * @default_values: if the GPIOHANDLE_REQUEST_OUTPUT is set for a requested * line, this specifies the default output value, should be 0 (low) or * 1 (high), anything else than 0 or 1 will be interpreted as 1 (high) * @consumer_label: a desired consumer label for the selected GPIO line(s)