From patchwork Mon Jun 15 06:46:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 206774 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DA67C433E0 for ; Mon, 15 Jun 2020 06:49:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 23AA12067B for ; Mon, 15 Jun 2020 06:49:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592203787; bh=FcwAg0ZkLADpZDIiqLF7eKTLkbJL6UdvFue4KTmGrvs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=DCVXW2iq0Ce6MA5oh+F7qLdzHjgIzKrgngR/4Hh5eqvhbyZH5F4XiVra1kCLVunBZ Dufhh0ISxMgWhswJhX0AphpcRR4q6jvKmYPyvJgdQlZLWQExTdvL+vph5GfuHHcQ1V nKyS9hCbWLXMKoRTCAU7h5jJbrONEjX5gE5UrHQQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728799AbgFOGtd (ORCPT ); Mon, 15 Jun 2020 02:49:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:59790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728407AbgFOGrM (ORCPT ); Mon, 15 Jun 2020 02:47:12 -0400 Received: from mail.kernel.org (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A37352076A; Mon, 15 Jun 2020 06:47:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592203631; bh=FcwAg0ZkLADpZDIiqLF7eKTLkbJL6UdvFue4KTmGrvs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=usLX2Abq+iiAPASL2bSQneycsQufGkMW8SI0aEGOL8Me7pb7f7Ej1VPQ960FxHiRf PoZ7OdWgpCs1xN2QPjdOlMm/66SORLKJp7K4DqwYHYXaFzysK94n4Ts/RIMs+KdLmr qnh2twMae0Oqr6UPCKgqnBOAAyzcVtWeahqFx9ko= Received: from mchehab by mail.kernel.org with local (Exim 4.93) (envelope-from ) id 1jkith-009nmT-JV; Mon, 15 Jun 2020 08:47:09 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org Subject: [PATCH 08/29] gpio: driver.h: fix kernel-doc markup Date: Mon, 15 Jun 2020 08:46:47 +0200 Message-Id: <97beeedde507eaeea189ae955c9f35ecf1563d6d.1592203542.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org There is one parameter with a wrong name at kernel-doc macro: ./include/linux/gpio/driver.h:499: warning: Function parameter or member 'gc' not described in 'gpiochip_add_data' ./include/linux/gpio/driver.h:499: warning: Excess function parameter 'chip' description in 'gpiochip_add_data' Fix it. Signed-off-by: Mauro Carvalho Chehab --- include/linux/gpio/driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index c4f272af7af5..c11261f3c724 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -481,7 +481,7 @@ extern int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data, /** * gpiochip_add_data() - register a gpio_chip - * @chip: the chip to register, with chip->base initialized + * @gc: the chip to register, with chip->base initialized * @data: driver-private data associated with this chip * * Context: potentially before irqs will work