Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3110185rdg; Tue, 17 Oct 2023 05:09:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxm/vsLldrUe1hNUWhhlxxfd2M0u873xQcrHfya0e4BbGYvdn58XgI/IFmxDz/RTPDHfDF X-Received: by 2002:a05:6358:e927:b0:166:dace:c5c with SMTP id gk39-20020a056358e92700b00166dace0c5cmr1834384rwb.24.1697544592130; Tue, 17 Oct 2023 05:09:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697544592; cv=none; d=google.com; s=arc-20160816; b=ColAm7DSdFBNDlcJkYBNOrZTGbm8H1nu/VLgJqclLdhdonhvD13eikiEhnKg5DfDIQ +6ACRdk5ouKqk1PDLRWSe5qyeVKzKD8CuG9Gk7rXWBDEcU6JK9bnlpGJkvuQ8G2zTtJF LWsGRmXjgKLDTke8tTCgphT/q7wlYcAz87TWuTByqimoxQXCU43tY1WTPJKZ5P7V7nzA nJWCLZZp2T7op9zh+YzI9IjCJhheIlE+7VopoFkcx8ZyHyKsSe2r+7VgfxvB1DgAqecE TSC8p6Si1WLl9kRd4PayinrwA2F/LPnqXYhpQWDF164E5GP1jaC9ChUhnA+hDTZYZDJ8 N57Q== 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=uQK9gNfv+CtiyTRuD5jhdyfna1J9n47OYq5MUGk8MThzyZGdOd+k5z2Ay0/EH3trsb cFRWY3Ing5ze6kZry7xqOSeIDMdIv1eZfkmoQ5nJsbwplogx8UcleQ2HPMdjwGKa4c+f W9d8qWeKgnaSo3THuRAmvpcmUDvE+CPG+R2Gw3/sLSbojPFyViyi7BcSbb6KhOwmienE K3ZBqkEylSzsQJQ2klaa25ByybdY8ZTYhrSFDX1irz4AcIg8nl6KwI+6IJmJDyDa9WZc ItKBRHsgGGIA/GTGPFl0hmkwD0NPsolXIiukBjcY//Dvc66fg3cA0Ez0a0S1R6pS/2Ud KWmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b="jL07/cVx"; 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 q4-20020a631f44000000b0056959099f46si1546735pgm.856.2023.10.17.05.09.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:09:52 -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="jL07/cVx"; 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 C28F680C479E; Tue, 17 Oct 2023 05:09:49 -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 S235076AbjJQMJh (ORCPT + 99 others); Tue, 17 Oct 2023 08:09:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343599AbjJQMIw (ORCPT ); Tue, 17 Oct 2023 08:08:52 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 391A72D5D for ; Tue, 17 Oct 2023 05:05:59 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-5079f9675c6so5150535e87.2 for ; Tue, 17 Oct 2023 05:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1697544357; x=1698149157; 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=jL07/cVxYCCC+CtplPPUszGZBGuwotsCU2JC63QagvjZj1sM/S0vpeVc1c1fHGO+1p X9NHIJcd5TjW4cQ7otTbk/ZYH263ZnunAjShlvYOUJht57WEGNYoif1BdQnUbYt3PZmd zQ/9rZTiNwCda9iKARCx69SNniPIlo9QgJGkyUVrSnLREpNYM9piAZN6HgWYt0uHGiBV kCuErqVW2T/UFbhpKW49X6eJ7yDXK4hdIYEnxDkLz+VnEUniK1eh2Q9yOiP8qZDFMcpC Asy0o7MaNm2SOm4ydAcmvWLMlhRMaCw+zGV9ou9QICxChJcKiZI+HaVSs7jJMrp7iW/o GQHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697544357; x=1698149157; 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=fMkFYe3oBGXxMWaQNdetw2nIUbaN+hY+1BF3nOFb9HqcnX7w7AVPXnP8CfSNM+UvXS mnRKEVoyUUIkJmBKQD42VLcvfgN99CKBO8gA4j8UTdVHRkVcA13qdsEorXNzNF0Wgtbq 7YSBnIU12BWifDLxp+DMj5S8ZFe0QR2cr1kGJu0Wo1uBEE+YIwE6CyuQn7ug5L5GwYAX OuABEW1z4v77YtY1uBR4y5kZzg6m5vLvn87yxhKxUx6+g8wwZjbIlyrWxxfhTmx7Ymfm hOjxUZ69feZWTgf0PNZK8/44mbA39hiUQ1BrJmFRw5o8TypmsE+JNvxKFq5SyDWlMITm DsyQ== X-Gm-Message-State: AOJu0YytBFfy4qk197nLupSGNz2XqEGzQw1/fn8qaBt48zNo33uRWaVO Uy6Xmz3yWQ1OL4+R1F9si66fGOC1X3FEwPWgqik= X-Received: by 2002:ac2:43ab:0:b0:504:33da:b659 with SMTP id t11-20020ac243ab000000b0050433dab659mr1620734lfl.57.1697544357085; 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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:05:56 -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 72/73] pinctrl: em: drop the wrapper around pinctrl_gpio_request() Date: Tue, 17 Oct 2023 14:04:30 +0200 Message-Id: <20231017120431.68847-73-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:09:49 -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