Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp774834rdg; Wed, 11 Oct 2023 05:22:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH/5H8rfAcK/uAjgk59tcHAyyOdJCGmSlyK9ocQppsmxgU2Xht4O1k71p3XNFs7agJxQKbk X-Received: by 2002:a05:6a00:21c5:b0:692:af9c:d96a with SMTP id t5-20020a056a0021c500b00692af9cd96amr19730358pfj.5.1697026948759; Wed, 11 Oct 2023 05:22:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697026948; cv=none; d=google.com; s=arc-20160816; b=kKGfFGTzzL3oOVrXiz3bNsDpS+/47yRGYYVsjp6LbP7mm0CDHs5PYqfeOlhSdK5BO9 0fU3IjvIKoprD9svXsm8XpS6dv55pQNcCbiZSaWb2Zwbg8ACFFgg5QwKqWG14wKTaPr6 SERhjJf5NWHjPs+MXmbTb9C4XswFJ6/ml7wSqIF16DDVWjUQiHZlzl9tiRneTXhso0Gy Niuk3E1ZllsLsJcfvhRzMdwTAN7rC7rZSxDbyBf0IsJLXib4p4QUZJXO5USQTUNryM/S 1rH7mhS/eh1/2obkYkdiXrSyEwm4ISNUMOIaaMF2/MNxiDeX4uol0Vw9Sygm7WucM75d hrSQ== 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=4LZIUlewtVfNK9nVoiXqaExbYoS0xfZdDyCSvk2gByo=; fh=kOxmq+prcfKKX/dgMaMxTb6TRjzyc//QKXZBiaS/a94=; b=kiXhrs1ZfW/g7mGWRAjCoFrY0O45NfKEWaVv5g41ycU54DQReoOPVO+cq0F4n4Nc55 +TBwky8p4bZtyrqMQctIzSg8mGXw/bGeaWmcSCYgjyZlcTubUkRCc8DQtLNxwiEsu/nc T3rfEZLOj5eDKukr8mErUlKIZtsEPAwioErpOLeIVbyfbM1R7xNjXqxu/zD6m7YLHJ7o vScSfGo9RHSDntf214HZOdLHGYKjVjqn5HEVcC7OZTJMA9scafpxd/cHTFyGSG9fQ/pJ Y03FjjsutvLQhBtri0GWY6zqUoF56YKsoQSKNSDY0eqpgBEb7XttybA3lWCUullfZ6yG n5LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=Nf5RdwE6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id d18-20020a056a0010d200b00691018e3f4dsi12223219pfu.201.2023.10.11.05.22.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 05:22:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=Nf5RdwE6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 977A2804ACE7; Wed, 11 Oct 2023 05:21:09 -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 S1346313AbjJKMUo (ORCPT + 99 others); Wed, 11 Oct 2023 08:20:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346724AbjJKMU2 (ORCPT ); Wed, 11 Oct 2023 08:20:28 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 157221FE1 for ; Wed, 11 Oct 2023 05:10:41 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3215f19a13aso6632960f8f.3 for ; Wed, 11 Oct 2023 05:10:41 -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=4LZIUlewtVfNK9nVoiXqaExbYoS0xfZdDyCSvk2gByo=; b=Nf5RdwE6yhqFdyYTXpyFyz/WWrsW9eGihDz8CrOx/VB8cWbx7HtjR9xEndfboBIhci AwNLShAW1U+S7bSdA7mIsu/QTppLPxHIAvNXakZ5kfsyPGIrHkx7YOv3YkEk1cyrVnxO OE58ZjEW+5ZEzx9JDQRvrfto2Ecbq5WbNauXNtfBpKSwsYkJ4O14S1AcDJms8nPvgcx/ IhndHCln5BGo+qKjplqrRAjSwWA13HskQpPq80jn9UJz1/98256HzBfZvzq2PMb+qhH9 Zf0JeJfLq0jOGvL9uLnLLve/aZRhKjyZTHHbZ5hp6n++o1fbf5HNGWNTt1gy3X5f7HF5 rSVA== 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=4LZIUlewtVfNK9nVoiXqaExbYoS0xfZdDyCSvk2gByo=; b=ouweyJ9I1foAU7/iZYCn+UBdOGte4ddoNAY0u+q8ywnRaRD0GIeNkfEezAWnkR8CVm 3zBI6fweeAbXyWd1bU/1kUxCL6PFNyhp5u0ypiy21zaMqeuLDcr+cLgQLYuLxnU4Vwsz cUfamektlZWkVVo9w5a0Tvn+iAjWM9MPiYuSY6+KEuvSQUEmd7Qw2dNo73nXb6LFkgbK h1USUzzq+1cKmhG8FpHHHqFC58kZbyKtbJNgTJqvqVqMkBCYs+NlVOPgYNh+zvtGi602 RYte89NCHEVgl+Leq31PzDlMQ5ehGiG5BllSpfYdj40Rk9D/tppli/quwKT97AfWFl4k c95g== X-Gm-Message-State: AOJu0Yy0jAuuVVdyBXwe4+lFJ6ONoXe8nBSnPzROjVJx7gG6cLwW9iKb JWil9qtDPWcLfkLin7ZBf7yzmQ== X-Received: by 2002:adf:ed8c:0:b0:31f:9a0d:167f with SMTP id c12-20020adfed8c000000b0031f9a0d167fmr17018035wro.50.1697026203806; Wed, 11 Oct 2023 05:10:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 05:10:03 -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 61/62] pinctrl: em: drop the wrapper around pinctrl_gpio_request() Date: Wed, 11 Oct 2023 14:08:29 +0200 Message-Id: <20231011120830.49324-62-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 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:21:10 -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-em.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c index aa31c189d0ef..6c862c572322 100644 --- a/drivers/gpio/gpio-em.c +++ b/drivers/gpio/gpio-em.c @@ -227,11 +227,6 @@ static int em_gio_to_irq(struct gpio_chip *chip, unsigned offset) return irq_create_mapping(gpio_to_priv(chip)->irq_domain, offset); } -static int em_gio_request(struct gpio_chip *chip, unsigned offset) -{ - return pinctrl_gpio_request(chip, offset); -} - static void em_gio_free(struct gpio_chip *chip, unsigned offset) { pinctrl_gpio_free(chip, offset); @@ -311,7 +306,7 @@ static int em_gio_probe(struct platform_device *pdev) gpio_chip->direction_output = em_gio_direction_output; gpio_chip->set = em_gio_set; gpio_chip->to_irq = em_gio_to_irq; - gpio_chip->request = em_gio_request; + gpio_chip->request = pinctrl_gpio_request; gpio_chip->free = em_gio_free; gpio_chip->label = name; gpio_chip->parent = dev; -- 2.39.2