Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3110088rdg; Tue, 17 Oct 2023 05:09:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGl6AXIJbjwtCd605XK+tUOzKaBp+8qreMKfSJxFWhwZ0cFFcrk6DWYflcxb4FxkjfFH+Le X-Received: by 2002:a05:6359:5e02:b0:142:d04e:59f0 with SMTP id pw2-20020a0563595e0200b00142d04e59f0mr2141379rwb.14.1697544581874; Tue, 17 Oct 2023 05:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697544581; cv=none; d=google.com; s=arc-20160816; b=dcYtJqKpWN28v0pt8syxoq1l01cLETydZ8DyP9AFKl2U/enWyi9/gCM6znL4/DnLFt Us5p89rWvv8wr2U3siFc2Ik1Quy1FN4uxLI86x80uedcRKtJj42KMlNxPI7JqEEBJnW4 3qVdaV8OQ2XEq+9ZfHu/+wYv5+/iSGNEOvwzIdA+6qd/HhI+4fDlB3DmMT0OvA2COaN9 w4vWtVEEXxpgL89+9B7o0bygZ3IHx5hHaS9ep2CCjnShLeiS2CnzbL/CWo8I24vAfMp2 mYIKMIgH217TLZI5RFsMSRF8jr9KBjoaBHUrSuaE3xLdQf052jwl08CL+SOIZFjidYDx j1ng== 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=rvAiclzYBXz54ZfUbD1kCo7tfLM2DvIrls2CuKVDYu0=; fh=kOxmq+prcfKKX/dgMaMxTb6TRjzyc//QKXZBiaS/a94=; b=VgZT4JDOjVNA1iJrFZud+90R1y1LVH+/9pkpUMOt3WNYT53yGXZlk6gN9GVdi35n11 TiksIVhC+4dOav4Pwf9XEgsuIiy2eNbo4w4oD100o7r3eRU1WLZMHu5tZXIwoZVRA/5G eoWfsFYoNA5RPJqQguFzLwxEKmnvIKZaYrcF+r7jqdVPJw0yp0mewsLj2JwTyLK1U7g3 IThaJibo0dr7fOMPymTgB0Qt2i1i/69lAaLlCb47oMFKo5As9Ge3m+x/tedW6ksqK8m9 D0+lt9Panm+5vWh+txr9t+Zc4QaozJm0HBr3B5zMlIgQK+YUx1XDJkxT/lClxgpnbuOA 8DzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=aZW+JreS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id p13-20020a63fe0d000000b00563d9ff5157si1707072pgh.547.2023.10.17.05.09.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:09:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=aZW+JreS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 264318029853; Tue, 17 Oct 2023 05:09:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235036AbjJQMJb (ORCPT + 99 others); Tue, 17 Oct 2023 08:09:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343619AbjJQMIe (ORCPT ); Tue, 17 Oct 2023 08:08:34 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 209A72D46 for ; Tue, 17 Oct 2023 05:05:56 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-507a936f4a9so3040560e87.1 for ; Tue, 17 Oct 2023 05:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1697544355; x=1698149155; 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=rvAiclzYBXz54ZfUbD1kCo7tfLM2DvIrls2CuKVDYu0=; b=aZW+JreSbECKa1vngWbyqDTBjSkP/CZwBV+K2ovxhC5UMZmQS/WAIWIe2dfhSOBKtj SPUhMJb8mSbCxk+vrAA5GE0rzAU1USSNeRr07tTXjAmDf+MeRZU2gLelFaOSsIU9o0KV VH6fziwYraWXfbgHKoSLoy+aznTIrLygoGd/XYscCnHCM8IT36S7AhWzqXPJZUZUYM7p 8Y7iH4326d6iyxLqGsvdmaRKLTZdfAom87HFBXYpAJVERQwBVd+lZ6vx8tGTYXkqcE3N YyR364bf6lfKlyHWuVz887vwDkyT3xXgE0NpIg/BZnYwebFlYcpaWs5KGOadzfFaqqgt Zreg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697544355; x=1698149155; 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=rvAiclzYBXz54ZfUbD1kCo7tfLM2DvIrls2CuKVDYu0=; b=ZdXIx/cQ7mb58CQf5yxvSiN58RzCxOb4RlBS+02tkHVDJNjbUE25QpLbwig5/yTeCw dE0S//pYgkqu5KkVV8BCuTR27s9Y0NmZAz5kJBz0cNfNy0weeHj6L74GMsKiYJryCDRo vIDDab/lvNo15RoMpeqKqp1s+MrlxnLel8y51uG7b00/MNhiOdsGJD/40k0G6s8hUn4m HCKpNTaN6/MFmtoTmaYs7t4eOWrRf6tGvw8Hk8LTKlJS21mI+wSS2O/8UpskiBAhvK8p 6xL2+qSo+BYD+jpfKzI9uVATP1LDxQ60Kn3JwbHAAsGRpzmswU1oKp4gc6tvS1r7lw9I pd/w== X-Gm-Message-State: AOJu0YxenwaeCYPYwS0QrZqsKL0y8ZPqKK0Q+nhlTwMmpOig947DpVR0 aA2rSBI/jPTVzACljAe+Xfq3Mg== X-Received: by 2002:a05:651c:60a:b0:2c2:966f:8cc with SMTP id k10-20020a05651c060a00b002c2966f08ccmr1326065lje.0.1697544355167; Tue, 17 Oct 2023 05:05:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:05:54 -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 70/73] pinctrl: nuvoton: npcm7xx: drop wrappers around pinctrl_gpio_request/free() Date: Tue, 17 Oct 2023 14:04:28 +0200 Message-Id: <20231017120431.68847-71-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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 17 Oct 2023 05:09:39 -0700 (PDT) From: Bartosz Golaszewski pinctrl_gpio_*() helpers now have signatures corresponding with those of the GPIOLIB callbacks. We can drop the wrappers. Signed-off-by: Bartosz Golaszewski --- drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c index 51aeac7ecc79..1e658721aaba 100644 --- a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c +++ b/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c @@ -208,12 +208,6 @@ static int npcmgpio_gpio_request(struct gpio_chip *chip, unsigned int offset) return bank->request(chip, offset); } -static void npcmgpio_gpio_free(struct gpio_chip *chip, unsigned int offset) -{ - dev_dbg(chip->parent, "gpio_free: offset%d\n", offset); - pinctrl_gpio_free(chip, offset); -} - static void npcmgpio_irq_handler(struct irq_desc *desc) { struct gpio_chip *gc; @@ -1916,7 +1910,7 @@ static int npcm7xx_gpio_of(struct npcm7xx_pinctrl *pctrl) pctrl->gpio_bank[id].gc.direction_output = npcmgpio_direction_output; pctrl->gpio_bank[id].request = pctrl->gpio_bank[id].gc.request; pctrl->gpio_bank[id].gc.request = npcmgpio_gpio_request; - pctrl->gpio_bank[id].gc.free = npcmgpio_gpio_free; + pctrl->gpio_bank[id].gc.free = pinctrl_gpio_free; id++; } -- 2.39.2