Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp774963rdg; Wed, 11 Oct 2023 05:22:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHS+sC/nxMk/S7/xyTWrWFrD1eLuBKcfc+RDm/q0ne4QffJtU7EO0gXw8pYtHxFjYmhn9TN X-Received: by 2002:a17:902:ea05:b0:1c1:fc5c:b31b with SMTP id s5-20020a170902ea0500b001c1fc5cb31bmr29609502plg.9.1697026959010; Wed, 11 Oct 2023 05:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697026958; cv=none; d=google.com; s=arc-20160816; b=nG0z9nWVhxwFZuCeAwJW5dU2dcDa2T2tVxBK8+Qrn3baGiFoMkKEPKqpZast/j6MvS aDvrxGjREqud0O/Ph/VWV5t2jrojmkCoh6ya6qUR9dGA7+BDJbV0LxsqpnmAtUbZIxe6 NmvgYy5k64jYxn6oh+hmN756bXH5vdR/5wP8+HQztFstzcAdkWdG+Vyb9/WmSy2m0RDK alyp6f7IZDdtnfGuy+neSQEfdVG8i5fn2Op5mydE4rAGplFm5JCmF79GB2f1afPhQmVj G8k7eN2fCRMFjfdjt79j2tbr6Slqv3WRzpW/48/Xd+mpZ/wZ5yKsi+GG1t4OeYJ7pW+1 FOPg== 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=ws5SX0zytB9xTS59BgisB0rKuSpufDnYkqpkhFPm5Kn7HgXwnJwt1Tju/91wq7T6xV YYxeStfmYGQLkRcYZKjZED1+1OZU125/jOMt5gdOzmzZdNAOXJ22CmfKkKN3BUnhoKUO EDE01ebjLeuKYEuE5XI0v6q+7N26zAzc5DqnsvsSniqx+HVJFhugHOY7fo6U49upXZPj vBh1VIIFt6B4fHmU8GZj7DEPoXo7zmuZZxwXPPyK8Nin7/wBYTENEXMWzcheZQB/toG9 LvjuSspWCNFwn6+HnWgte7IR8f+AhVOWkEbC8tCRX0/CPnfflJuHEWYKZMs3ToDGBrd7 VygQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=gJ6o3XNX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id kf5-20020a17090305c500b001c61acd5be6si13564065plb.209.2023.10.11.05.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 05:22:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=gJ6o3XNX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id A7CBB81CC879; Wed, 11 Oct 2023 05:22:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346918AbjJKMV7 (ORCPT + 99 others); Wed, 11 Oct 2023 08:21:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235016AbjJKMVZ (ORCPT ); Wed, 11 Oct 2023 08:21:25 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CC9A1FED for ; Wed, 11 Oct 2023 05:10:42 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40666aa674fso63482135e9.0 for ; Wed, 11 Oct 2023 05:10:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1697026204; x=1697631004; 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=gJ6o3XNXNqPcrsDzBkzjjR7P/qyRDWUszJX6S21MICz8qC0s4tawavCrpD98GEA+jo f0ZGAZDHMPZ46eOG0KCZCTfujTuQG/eiZ1PrW5t2Vbyh5TN37d33IqcmGHbJPBuyz380 qwB6ZL21T92NOsT01yWhihvMyERSCq0vMSTI2OJXIbmtgfLhe4M+b4bfD4cM1Pf+Lyma q1yGNZXtRLkuoKgrNRTlUbq55PpxXP+07EpmAiuFzNYep8CU+JhWSWxLfMIYZhvD1Bi1 c8AjlmgRyNIBkCUxCXm0s2ZWE+22UR7GkX03d2ANiIdgXoBF2DLeZa4JM78lP2yX4kCE wvtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697026204; x=1697631004; 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=rvcjSep2CyRI9tWr6pvSlPBK7+Qz0vjQchmAvSEBkG/iIDZqRQWnvmduMFQoYM36qg aMD6k7SSrl15iyYwRJOd2aeWIj3/SniQrvAKYCPGjVPMWyYVz678aeTLttRuKAUxgugO BLHNbNXaJebaBmRxPI9gkLq15mtFTYy6IkyB+LFyf9pVymxpyr1R3cSlm2s4nZrTlrJy MgI/Pst8+ZEwTkqB7s2yOo147fqav7lweN8TbSfv7qJeacwBNYbtEXeBMAZkl5FAtfBi zzfM8RmzaB5EGA1UnBXcZYRavC6+NJxCvcjMP0qETKGNsaZnvx5vpvlM5uXBVnD/n+1G usFQ== X-Gm-Message-State: AOJu0Yw9V1rFuMBiB/wGLgfMtdbL1oSehnmkgcJLBV2PBNRN7DNv4CQp D0XQmvpYWphOtcEMJubJ3pvkGw== X-Received: by 2002:a7b:cd85:0:b0:406:599f:f92c with SMTP id y5-20020a7bcd85000000b00406599ff92cmr18667253wmj.20.1697026204759; Wed, 11 Oct 2023 05:10:04 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:e551:3946:26fc:f94]) by smtp.gmail.com with ESMTPSA id w21-20020a05600c015500b0040652e8ca13sm19012253wmm.43.2023.10.11.05.10.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 05:10:04 -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 v2 62/62] pinctrl: tegra: drop the wrapper around pinctrl_gpio_request() Date: Wed, 11 Oct 2023 14:08:30 +0200 Message-Id: <20231011120830.49324-63-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231011120830.49324-1-brgl@bgdev.pl> References: <20231011120830.49324-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 05:22:13 -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