Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BA6ABC7EE23 for ; Tue, 16 May 2023 19:03:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BA74D860C3; Tue, 16 May 2023 21:03:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="i/6JKkF0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 68D4F8665A; Tue, 16 May 2023 21:03:24 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3208E85D8B for ; Tue, 16 May 2023 21:03:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1519B63DFD for ; Tue, 16 May 2023 19:03:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57475C433EF for ; Tue, 16 May 2023 19:03:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684263800; bh=4m/1DCgIqFT/vTVLhZlJg88gP/P+A6aioBBpwZ5c9OA=; h=Date:From:To:Subject:References:In-Reply-To:From; b=i/6JKkF0gdzJO/HZfnQ8JDj/XUY9eYU3OmKedqdnfDXsi0/OFmAfDiyduTEHRp0Ao ANUHVkuilJLkaWvp7uEX0nBhpx+h2I/BT9FqDBmQvU+dWNdIOAJ4L2NxgNyEM3ZXUG 8a+NH/rKhIOIzG1MyMpgawPdYXUdevkmim9ntjGEnzjLRS0dYPCBiItgQfj4qXdGhf p8ml4JaiuzvD2ZUMNzeWwQR5KiGLmibJ5T+FklnhF0pI/FlUW42ZpJqcewaRLknr6w rxRUeDeYi/8r5KflQh0onDV5GGXFd4wWBMP2hEDAWwLroT2EX+2J51tJhEiD/8m06S cYndXO4ldJCsg== Received: by pali.im (Postfix) id 10416A47; Tue, 16 May 2023 21:03:18 +0200 (CEST) Date: Tue, 16 May 2023 21:03:17 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: u-boot@lists.denx.de Subject: Re: [PATCH] gpio: renesas: Simplify .request/.rfree callbacks Message-ID: <20230516190317.em7tby6neyesmovl@pali> References: <20220802100655.17965-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220802100655.17965-1-pali@kernel.org> User-Agent: NeoMutt/20180716 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean PING? Another patch mentioned today which stay there for more than 8 months? On Tuesday 02 August 2022 12:06:55 Pali Rohár wrote: > Remove identify wrapper functions. > > Signed-off-by: Pali Rohár > --- > drivers/gpio/gpio-rcar.c | 15 ++------------- > 1 file changed, 2 insertions(+), 13 deletions(-) > > diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c > index 138801850d3e..ba00bb459679 100644 > --- a/drivers/gpio/gpio-rcar.c > +++ b/drivers/gpio/gpio-rcar.c > @@ -130,20 +130,9 @@ static int rcar_gpio_get_function(struct udevice *dev, unsigned offset) > return GPIOF_INPUT; > } > > -static int rcar_gpio_request(struct udevice *dev, unsigned offset, > - const char *label) > -{ > - return pinctrl_gpio_request(dev, offset, label); > -} > - > -static int rcar_gpio_free(struct udevice *dev, unsigned offset) > -{ > - return pinctrl_gpio_free(dev, offset); > -} > - > static const struct dm_gpio_ops rcar_gpio_ops = { > - .request = rcar_gpio_request, > - .rfree = rcar_gpio_free, > + .request = pinctrl_gpio_request, > + .rfree = pinctrl_gpio_free, > .direction_input = rcar_gpio_direction_input, > .direction_output = rcar_gpio_direction_output, > .get_value = rcar_gpio_get_value, > -- > 2.20.1 >