Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3117066rdg; Tue, 17 Oct 2023 05:21:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHW4VrCUV2P6IhckEcxtUbGMOF9OkhzL3Vo/I8q5kJI0RS0gNvlofqwKX0g21qLqqCNjPk7 X-Received: by 2002:a17:903:230a:b0:1c7:3558:721a with SMTP id d10-20020a170903230a00b001c73558721amr2484724plh.58.1697545281261; Tue, 17 Oct 2023 05:21:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697545281; cv=none; d=google.com; s=arc-20160816; b=RqrUMNalKC+kz86TpLYCm/C1ZairM6QgxJUFNYcJjZhSkkqCV04QLEjLTnf5xNsOhH Bq4+TVvzYWlVRJpTVYFW2Rp+SlsAA8vLKWP4LfJra3GmJwAAwTYsV5UxtTt1sLy5iZVm DDspK456INPn/AIyxK8/+RXPsGuYOjfecbAueoj4IPUJAo18+sgfBL2V19k3bIN3S/y3 wz6zNzoijIpisV2DrzXEG8bYLWMPfLK1IFzt03M6nK/AtSI1AOBT+wXMZSEPGd/TSFBR gkLqUzRdoQPegRaCJ2x0ir2zdKkRwPQp9zbGCkub11T+9KKdyIEh62nt1V06ZbF+gHoh T/6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EYaubAEjb8jIz/ZTOGnBQzJ0oe0Kyc/ixkibc3BZPzU=; fh=kOxmq+prcfKKX/dgMaMxTb6TRjzyc//QKXZBiaS/a94=; b=Sy2I0JE6XY7ij7KjbBhVoI1lwg5okl6WkJ81c/DEDTYapLGwQN7Xrh1tfOcYwLj7Pw kys5Q6jXBjLxoGLd645zWdGQF6ZXWfjU0dahAgbFF1M5jW/nt5B+lH0gI5gz5l0z4C/p bZRId+3xlSV49lq3ZSbKxZN+Af+Zrx1+WHWdFPTap+v6rRAc5ReFu42tqUQN+bUE66KZ PWX/J3mTuvfa+xx9uyxHKHz2UJGJ2i/XmwvqzkPj/34DaODbstVv8+zDwjVDESkdMCSW TtRdFcDjVGdzcfST0KR2nLMCEOpRMqFe9n1ac9FNUCgO6TR1Zjio2938w++ng5h8bO5Z qKVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=TxCPmBsD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id z7-20020a1709028f8700b001c9af07788csi1606849plo.76.2023.10.17.05.21.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:21:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=TxCPmBsD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2506880BC50E; Tue, 17 Oct 2023 05:21:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235248AbjJQMU6 (ORCPT + 99 others); Tue, 17 Oct 2023 08:20:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235197AbjJQMUk (ORCPT ); Tue, 17 Oct 2023 08:20:40 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F3622D67 for ; Tue, 17 Oct 2023 05:05:59 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-5041d6d8b10so7323364e87.2 for ; Tue, 17 Oct 2023 05:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1697544358; x=1698149158; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EYaubAEjb8jIz/ZTOGnBQzJ0oe0Kyc/ixkibc3BZPzU=; b=TxCPmBsDFrIYBZbD1BD6MTPMmcvonyonBh7l+lkpxOGn71qvhw8lZPIqd2UAuohLQI JWu/9LZ7CBWRNAtZ2GD4Licp58/3ixH4tmm8+62c+5mWfU2O1DBuuzHaUSIlDlY5iD8v pr3tbqDxk/S/0lxPLv5J4WjoL4a4uGOmhvN8C+e94uMJ9BTZG0LRLCXDbsVZ1TtRXwof cHQs3mUuDf90758mI2eyYQXI2o6iaqQ60fSZ3rRA0dMczefrOF62H0WK4V/pLpMKD1e/ +AHCSTahL5lUZ9fsSH28HP6AjcVaFpnkaIUhBe6OQHx/ftvNGDKXhJ5wLNta7/aGTVc/ +M3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697544358; x=1698149158; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EYaubAEjb8jIz/ZTOGnBQzJ0oe0Kyc/ixkibc3BZPzU=; b=FM8UdIoQxQOG5IAbst5mytgRkOdNlpQVCgvNPBkSce80nyzxEYlPpbL2Fa3U3ZCNDu W2zA8r4eInzZPLcIfTrVY3EA49nScztrFX2Q3MiBk3Y4V5AyzmL6igCoYFzbISLe6zcx NGQWlgHP2c+zCE4YgWUEuFrNxQsz45P/09AEfVlpEF6z1K3C0diVSJJ+EEEDbLVgh6X5 Ru4SdMtvstsE0/pcxwfZs3ks9BTuBY62TQdk1aoupUi7Gn+Nt8IfM+R+BMVxH+1MT+9M Kx8a1bO584I/qqY9Yq5eVMxyQQm3HZ2jSsElQ/Mse6yHmuIVSR7jNKJSuo/oSSIlhNQL Eu2A== X-Gm-Message-State: AOJu0YxSIbb9Z9VIrSUhwQZavkAs8BNK24m0/rhNOGRzXCUqmuAP6uSs fDg0JpMKtQ9xTANoDG4i81LJ9g== X-Received: by 2002:ac2:4304:0:b0:503:1c07:f7f9 with SMTP id l4-20020ac24304000000b005031c07f7f9mr1743793lfh.29.1697544357879; Tue, 17 Oct 2023 05:05:57 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f1ee:b000:ce90:ed14]) by smtp.gmail.com with ESMTPSA id a2-20020a05600c224200b00405442edc69sm1353859wmm.14.2023.10.17.05.05.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:05:57 -0700 (PDT) From: Bartosz Golaszewski To: Linus Walleij , Andy Shevchenko Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v3 73/73] pinctrl: tegra: drop the wrapper around pinctrl_gpio_request() Date: Tue, 17 Oct 2023 14:04:31 +0200 Message-Id: <20231017120431.68847-74-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231017120431.68847-1-brgl@bgdev.pl> References: <20231017120431.68847-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 17 Oct 2023 05:21:19 -0700 (PDT) From: Bartosz Golaszewski pinctrl_gpio_request() now has the same signature as the wrapper around it so we can drop them. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-tegra.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index adfbed62eff1..ea5f9cc14bc4 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c @@ -137,11 +137,6 @@ static void tegra_gpio_disable(struct tegra_gpio_info *tgi, unsigned int gpio) tegra_gpio_mask_write(tgi, GPIO_MSK_CNF(tgi, gpio), gpio, 0); } -static int tegra_gpio_request(struct gpio_chip *chip, unsigned int offset) -{ - return pinctrl_gpio_request(chip, offset); -} - static void tegra_gpio_free(struct gpio_chip *chip, unsigned int offset) { struct tegra_gpio_info *tgi = gpiochip_get_data(chip); @@ -717,7 +712,7 @@ static int tegra_gpio_probe(struct platform_device *pdev) } tgi->gc.label = "tegra-gpio"; - tgi->gc.request = tegra_gpio_request; + tgi->gc.request = pinctrl_gpio_request; tgi->gc.free = tegra_gpio_free; tgi->gc.direction_input = tegra_gpio_direction_input; tgi->gc.get = tegra_gpio_get; -- 2.39.2