From patchwork Mon Jul 24 14:57:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 9859673 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3D94E603FA for ; Mon, 24 Jul 2017 14:58:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F24B283FD for ; Mon, 24 Jul 2017 14:58:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 28519283E8; Mon, 24 Jul 2017 14:58:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA944283E8 for ; Mon, 24 Jul 2017 14:58:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932362AbdGXO57 (ORCPT ); Mon, 24 Jul 2017 10:57:59 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:33606 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756361AbdGXO5h (ORCPT ); Mon, 24 Jul 2017 10:57:37 -0400 Received: by mail-wr0-f193.google.com with SMTP id y43so17648099wrd.0; Mon, 24 Jul 2017 07:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YYRKg09nA3gOKqsSFw3sCDWqi63KrcyBOl4DL6VMhkc=; b=go6guUm/Hos2lLkY0btg5kFUpobv9Y6eX/ceaWnRHot2YN5ZfNzOCLt0Tg0yQItStv ZSiATqGHsueaczxQufF6C6SPGpCoMljNK0K4b2K7CWKrmHgUoBna5tiBeN3iYMNJ+DDl yIuh1sKjpRZn6+1H3teBxGcpuuKDYPdcDJzIFq5qmUfIDFM0J1qH5bxqEUgy+dXyNfXM MA0KKx+LQW4mLr7QjwQKbKVz2QJLUErr9UdMo/P5BZOEde2nc5CY3Z7hSmrr9ZJh+9Cv KbjHMHbkc0XW4CzFZFMvjeBBw/EEK+V+mAQxb8N+4573DcyU64bPCYADBYbdkH5CZ2ss E+3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YYRKg09nA3gOKqsSFw3sCDWqi63KrcyBOl4DL6VMhkc=; b=fDcBKGDhFdpuN20ACBKlaaTvmr+iKdNJfuYJZ/ocKiyikOI9gdTE3W7HfM7xqxO1ee aKPXaVGxXEtQBao4ZUceJkjSKlzrDRcbt82ERn9Vu8jnBU3lO1aQA5ZLQcepdbnxYN/W /gt2M6/gwx06iEjZ7cH1J32+CoDKecpEg9IwU33LgufKdSpc/8WqoInB6aXeXG7KF/Mq Wk0uEcbIegFAZD9Q2gARUf9NxFT2VA0K1ULdMvg4TJK2vrisMLLaycowFj6ASSi9D4TG 6NUFQxmz4P84BFHK6Hkkvz2zME0VSpcUTALpR2Ud8L0a0cDjMCrOeI/m36jhMiAPOxJ1 uTmg== X-Gm-Message-State: AIVw111MuCvSXLo9p57pfy8a0ipVzHbJk+k5nUlbYCHTlmh1EKGwDgOV CokSpS9LX4hjDg== X-Received: by 10.223.166.173 with SMTP id t42mr12685141wrc.272.1500908256129; Mon, 24 Jul 2017 07:57:36 -0700 (PDT) Received: from localhost (p200300E41BDFF20076D02BFFFE273F51.dip0.t-ipconnect.de. [2003:e4:1bdf:f200:76d0:2bff:fe27:3f51]) by smtp.gmail.com with ESMTPSA id p140sm9147852wmb.28.2017.07.24.07.57.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Jul 2017 07:57:35 -0700 (PDT) From: Thierry Reding To: Linus Walleij Cc: Mika Westerberg , Andy Shevchenko , Jonathan Corbet , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] gpio: sysfs: Fixup kerneldoc Date: Mon, 24 Jul 2017 16:57:26 +0200 Message-Id: <20170724145728.7662-5-thierry.reding@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170724145728.7662-1-thierry.reding@gmail.com> References: <20170724145728.7662-1-thierry.reding@gmail.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding Fix up some references to parameters to match the code. Signed-off-by: Thierry Reding --- drivers/gpio/gpiolib-sysfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpio/gpiolib-sysfs.c b/drivers/gpio/gpiolib-sysfs.c index 16fe9742597b..45b8c0679fee 100644 --- a/drivers/gpio/gpiolib-sysfs.c +++ b/drivers/gpio/gpiolib-sysfs.c @@ -534,8 +534,8 @@ static struct class gpio_class = { /** * gpiod_export - export a GPIO through sysfs - * @gpio: gpio to make available, already requested - * @direction_may_change: true if userspace may change gpio direction + * @desc: GPIO to make available, already requested + * @direction_may_change: true if userspace may change GPIO direction * Context: arch_initcall or later * * When drivers want to make a GPIO accessible to userspace after they @@ -643,7 +643,7 @@ static int match_export(struct device *dev, const void *desc) * gpiod_export_link - create a sysfs link to an exported GPIO node * @dev: device under which to create symlink * @name: name of the symlink - * @gpio: gpio to create symlink to, already exported + * @desc: GPIO to create symlink to, already exported * * Set up a symlink from /sys/.../dev/name to /sys/class/gpio/gpioN * node. Caller is responsible for unlinking. @@ -674,7 +674,7 @@ EXPORT_SYMBOL_GPL(gpiod_export_link); /** * gpiod_unexport - reverse effect of gpiod_export() - * @gpio: gpio to make unavailable + * @desc: GPIO to make unavailable * * This is implicit on gpiod_free(). */