Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3109778rdg; Tue, 17 Oct 2023 05:09:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFvgejUbCXE74LTqD+8pbrS082zAM9JDXSeRVhamw48BH1DiiqCPkL1i3BYQ3Cq0qeqycFu X-Received: by 2002:a05:6a20:8e23:b0:17a:cfce:5a38 with SMTP id y35-20020a056a208e2300b0017acfce5a38mr1998829pzj.48.1697544551243; Tue, 17 Oct 2023 05:09:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697544551; cv=none; d=google.com; s=arc-20160816; b=GysrrzwlFD7iEzOptoRj0Ig+iH7oWfP6EP8rNC140LktlpblBnr1dxPyAIA6sovHJ2 4WU8JXDMFu914ilrl9Lwen+hJBHcswQM/ufERHZkYZYsggEpaKhhkdCvleo8skgASfKc 7+H4aih/Rieu7YX5zCaw9Z0y88E/oxdX+AWsebQRLsubmv3hwBZNA6hQcisiN1zZSO01 0vqnxej0ThRkOuHTSsk2RHctTfBPXXPG3TAtNcfopI0O1r0RV8uu7V6BT1YcB7iAvcUp hXkkQGLgFf3X0uwbikK+S/q7AFCtf71isQgFNDZMJqY5lTuFWDGb9SPg1otXU03L8tZX lvew== 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=4mWMEsrepSOyp3f33hvoi4PwifoeQU9K1dcaB1U/fvQ=; fh=kOxmq+prcfKKX/dgMaMxTb6TRjzyc//QKXZBiaS/a94=; b=iDJh4KBz7fqxcv1lX14swBoSuKIvX+b5BH5zyolDuEfPIr5WRPvsxFE8bOeu5wzQ9u nD3P0L1PkTQR3R2kPn4iA1p7/hvZCAywk4dNKxcfuBmdWkML8VomyVJbg/5xDLONm3Uk JEXnswXlsM3mnwzpTZtNaCrqi6va1/xlzOQnCC8Wh0pI0NxqAGfqrfS1PM4MsE+3tyDy F7T+mFRolQ05COAz8GqMIDK8Q5f+bkL2IRsoTWz+ZHYG9L4mYXTqlsauTeV8xfAzGeK5 YJ2jBJUwUjF6uht85jbo2jKQR4ghPDptjtsz1E8YkXfGoZWYBO3W/cjyLyJAU+6XE661 2qDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=lt0otnXu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id 67-20020a630246000000b005aa5852227fsi1657119pgc.622.2023.10.17.05.09.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:09:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=lt0otnXu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 1062B801CFA5; Tue, 17 Oct 2023 05:09:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235085AbjJQMIy (ORCPT + 99 others); Tue, 17 Oct 2023 08:08:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343585AbjJQMHp (ORCPT ); Tue, 17 Oct 2023 08:07:45 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2087F270B for ; Tue, 17 Oct 2023 05:05:49 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40572aeb73cso55558495e9.3 for ; Tue, 17 Oct 2023 05:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1697544348; x=1698149148; 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=4mWMEsrepSOyp3f33hvoi4PwifoeQU9K1dcaB1U/fvQ=; b=lt0otnXuA0fRwjdGxBS2T9ffQSHVaBNOdDaKniXDdeNy7j2ytKFjfILQlMOABif4v5 16/6pvzYJBI7jpAgtn7hxIXl4IUVJjp9YIo47bZ4JI0TAoeDExCrEq/Wz5wTV7TMkXvO E59NILp9WCG6rBx7SSYXs92BnlgWFHCcGE0NluvYajj3g4CkahAxhHdTNa34q7SkzmyW u1z8BHEUPbfBAQcAo/Mg88szNqb7O3l3YKyfcFRE0N7NsQbCjBO0RIFKlWuQFzMLa2j/ Y9Ftd8/KZ0iWOYLAudHq4JX2q5plQj7qR/wwwaRBJXfp6+/2JMDtKf+ivybMqJCLt3vh NHdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697544348; x=1698149148; 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=4mWMEsrepSOyp3f33hvoi4PwifoeQU9K1dcaB1U/fvQ=; b=BMedJUjs5/7a9U7rYxy2txK5cGxIpja7m9HCmnAEES8KY8mbZtFPXSFwUGaBlovFdn 0GhXyWVmnXRR4kxqDNePGBvkjLAisbTBy57eMSKIhZkbS5DuUH3ni2wOeWD5KRJlUgQI isoYS0/qXWB9s7QUeVsUw9ndCf09zC830LM6ytCFlvEhOa1eJXoFNcoqv1pUBo+O0DcQ pbJlPI1V4NVX7Gv6WiZ/Scw9ewgxgy6E5d6VuMUGJ/oN1wAhX7t+Oh67GDYoynYqUjTt SPHz3ELSkxzoHdYB2SRNUQDmnGnykUzrxyVFYWVbPUQf28uH33KIdYwM6KRbdMRk2DMB EVOg== X-Gm-Message-State: AOJu0YydLxjCdY1MxqQFH+CmuhMFZcF4wlQ6xa6h8P5tm+DzbxxKHrGj 9VFp/H+31TQEskvHbw4bSP8cug== X-Received: by 2002:a05:600c:1d94:b0:404:74e3:27a4 with SMTP id p20-20020a05600c1d9400b0040474e327a4mr1593975wms.40.1697544348017; Tue, 17 Oct 2023 05:05:48 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:05:47 -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 62/73] pinctrl: rk805: drop the wrapper around pinctrl_gpio_direction_input() Date: Tue, 17 Oct 2023 14:04:20 +0200 Message-Id: <20231017120431.68847-63-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 morse.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 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 05:09:08 -0700 (PDT) From: Bartosz Golaszewski pinctrl_gpio_direction_input() now has the same signature as the wrapper around it so we can drop them. Signed-off-by: Bartosz Golaszewski --- drivers/pinctrl/pinctrl-rk805.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rk805.c b/drivers/pinctrl/pinctrl-rk805.c index 968f066eb9da..56d916f2cee6 100644 --- a/drivers/pinctrl/pinctrl-rk805.c +++ b/drivers/pinctrl/pinctrl-rk805.c @@ -286,12 +286,6 @@ static void rk805_gpio_set(struct gpio_chip *chip, offset, value); } -static int rk805_gpio_direction_input(struct gpio_chip *chip, - unsigned int offset) -{ - return pinctrl_gpio_direction_input(chip, offset); -} - static int rk805_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, int value) { @@ -330,7 +324,7 @@ static const struct gpio_chip rk805_gpio_chip = { .get_direction = rk805_gpio_get_direction, .get = rk805_gpio_get, .set = rk805_gpio_set, - .direction_input = rk805_gpio_direction_input, + .direction_input = pinctrl_gpio_direction_input, .direction_output = rk805_gpio_direction_output, .can_sleep = true, .base = -1, -- 2.39.2