Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3109462rdg; Tue, 17 Oct 2023 05:08:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFK0HW4G59BzTBUieacc2BvW9KIzTqjXsjXpGMl8VA/uNEHx8/XiXpfQTq83+HV5snKqFKh X-Received: by 2002:a17:90a:1a:b0:27d:82a7:d0b5 with SMTP id 26-20020a17090a001a00b0027d82a7d0b5mr1976740pja.26.1697544522844; Tue, 17 Oct 2023 05:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697544522; cv=none; d=google.com; s=arc-20160816; b=kYW2WgDwqv1ucz6rpzvgwQ60TeDm3a5AyV0ClZD2anZp0sGOA+nxYHktucAggOXftL ZGHyIfmfHFNWwR/0DSudetAmTE28ZXUGHQ1ybGUXlRsEY6fxifw6JSpTy5TDu6rlpyX8 55x/6c2xXqWk24SpbNAYYAQl+PKRl8rtnxapzPNoQ3XNg6l59UniLtrd8m/0i07r2eXv 0OyzQrnk32dbm7Wo7ttiVln0zQRUB8NbmIW6nHVpZveqF0gazkpa7jwogxScywedcc/Z 6DkHtV6nmitHekHiHnKKF/oviIterrboDMGlL8SaXR/xfhxFG2kFiCytPTb2uNQ75ERg 9RvA== 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=dZA9jxM2qedMisgaI2wTgRjsyEvc4vcg/mOILSJ3QTQ=; fh=kOxmq+prcfKKX/dgMaMxTb6TRjzyc//QKXZBiaS/a94=; b=rEJjibH0ulaZG4Y/yYyaOTzctLzn017pi0kVnEUSAEVd6Sytwcv3b10FHnWAkTGwGS dM8hWGNolR1K+AzjEZo9xf6pDGFmQBdjurTKtcXMhwLN2tX8hsy4XIHowIHNrfC9C5dv gSiPSOx/bTuFjsaQQiSGRIIq9GHDrI54zGUTmVD33Lf0eoosykSZMmdT47IALuGXp50C VstQKp6roPcXxVR1KP/ip9LhHCCKjgbWDtXKh/i6x4JXdgKFUj+H8jv45AWGm8n29JuO tHG1S47T3f6SCOPkM6vmmod4GSxz6umAxKuWI6n5CulMPhkEghvY+QhyGzdBq4/S6rKo Qo9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=cZaK5JFh; 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 kk12-20020a17090b4a0c00b0027dbf69ebf9si1240588pjb.148.2023.10.17.05.08.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:08:42 -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=cZaK5JFh; 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 86891801B9FE; Tue, 17 Oct 2023 05:08:27 -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 S234612AbjJQMIP (ORCPT + 99 others); Tue, 17 Oct 2023 08:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235055AbjJQMHX (ORCPT ); Tue, 17 Oct 2023 08:07:23 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8659268C for ; Tue, 17 Oct 2023 05:05:44 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40566f89f6eso62513285e9.3 for ; Tue, 17 Oct 2023 05:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1697544342; x=1698149142; 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=dZA9jxM2qedMisgaI2wTgRjsyEvc4vcg/mOILSJ3QTQ=; b=cZaK5JFhE3fQcdHqt9Y2ut45fX2MRu4Iul6awgxoaIS7u39iWg3EmRv4YMH8gbi/dv FHUbfO7pfm4WM33Ni1c8vRm7fhhbTitAfyL/22QTRNGgS2HkvQi49Kih0wirb1iBMUtb YPKsYqYJi3mIiqoATGQ4z5+GzKJOR92V/fTclxOfYtSB8PjFgQhQOjseq6wXoElPwNja f9D4Yjkk0SnGWFWVSNpQmJ/nsA1ZW8bCS7MPgyQziG2vde3x06IlDWxjSDOFXhfsWII5 oAj56XbM4kBCgMv30n4apvJ1KCmCWdwsQ7muMwJcnRBjH3aq4w4/aAyP7ReQN5OudUOS g4Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697544342; x=1698149142; 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=dZA9jxM2qedMisgaI2wTgRjsyEvc4vcg/mOILSJ3QTQ=; b=nYOZsFQ1xrwTFy9hjuC8jqpq17VQWLj6y6aA8EGzhND4OnPD0zIEUXYgMZE3f2O9pf PnSgGZFBjO1dnJB0iGlu2xF544RfKEvfQOLJ+0BNYxxhVx1I9RUeN9lMSGc+/eYzIZal 7QAk5y3vas8ynPlg6vInHd3QdXt31clGkxA+mdqvG9KOJWg0W+24QjCtr/nWSBx1MDe6 456Mk0S76+hYW6lGypxuFnERCqVLRoLNOupTAmcdzioHvYL5cokrO+eNLwjMM1j7nJPm 9ZZbb/2bk9MOBENzjFfikmLiIf/zr3usAxVQeNTjnhq2SIZMB4jBsVQI1ixHF8pp99LK rs0w== X-Gm-Message-State: AOJu0YwM6ROkEofXIQa0K7utPTjAWcJ7qeU/bt2nSz37kr2EvL79sCac z5ojcVplf+eGfZC9LM/8qdFxJQ== X-Received: by 2002:a05:600c:a0a:b0:406:4a32:52fc with SMTP id z10-20020a05600c0a0a00b004064a3252fcmr1528311wmp.21.1697544341404; Tue, 17 Oct 2023 05:05:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:05:41 -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 55/73] pinctrl: intel: cherryview: drop the wrappers around pinctrl_gpio_direction_input() Date: Tue, 17 Oct 2023 14:04:13 +0200 Message-Id: <20231017120431.68847-56-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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham 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]); Tue, 17 Oct 2023 05:08:27 -0700 (PDT) From: Bartosz Golaszewski pinctrl_gpio_direction_input() now has the same signature as the wrappers around it so we can drop them. Signed-off-by: Bartosz Golaszewski --- drivers/pinctrl/intel/pinctrl-cherryview.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/pinctrl/intel/pinctrl-cherryview.c b/drivers/pinctrl/intel/pinctrl-cherryview.c index 067b0d344f0e..d1315cf027ce 100644 --- a/drivers/pinctrl/intel/pinctrl-cherryview.c +++ b/drivers/pinctrl/intel/pinctrl-cherryview.c @@ -1146,11 +1146,6 @@ static int chv_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) return GPIO_LINE_DIRECTION_IN; } -static int chv_gpio_direction_input(struct gpio_chip *chip, unsigned int offset) -{ - return pinctrl_gpio_direction_input(chip, offset); -} - static int chv_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, int value) { @@ -1163,7 +1158,7 @@ static const struct gpio_chip chv_gpio_chip = { .request = gpiochip_generic_request, .free = gpiochip_generic_free, .get_direction = chv_gpio_get_direction, - .direction_input = chv_gpio_direction_input, + .direction_input = pinctrl_gpio_direction_input, .direction_output = chv_gpio_direction_output, .get = chv_gpio_get, .set = chv_gpio_set, -- 2.39.2