Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3129735rdg; Tue, 17 Oct 2023 05:44:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLPHYwYWJVwl9eRHZnti6sDDzhMGxO+JscAIB04UVNRuEpZ1VJq1Dp7SDhN9SHtjUK8WI5 X-Received: by 2002:a05:6871:8795:b0:1e9:97cc:59ff with SMTP id td21-20020a056871879500b001e997cc59ffmr2274866oab.9.1697546690684; Tue, 17 Oct 2023 05:44:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697546690; cv=none; d=google.com; s=arc-20160816; b=eICdbnxaoh7rWSlyD8ur9lpGMBeT2QmKcnkXB7W6eJ2Ru1z2vb+UZLJHWN7Y1dZVds 19PsU99QgL4ZBvaNxfw7Tsc08n7NEmSI5rAJ9e/1IOfzUD2e9Ag5pEXmE+Sl7qa/JJ/M 56Jzvu0f4PRH53Ucrg0SuhgNMPPht+7j5s04MwjLWZOoVZ+q4IHIUdDv4ef48iecXNPC D/SzANlIPNX08tXCVBmEodvMVl7EcxyYx9119SjQjpPcG6u41yWk10klAJnpArBl+pS5 /NpGB2gedDnWUvx96Pci7gp0xXt5GjwGc0aS1Oo80qiSfHmuLNfQUOW7vzbN+4HpAIz4 3gOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vQVpipJ8U/Wmxx6yT1J99VV5RzOgH7yDeQqapC2EK3w=; fh=+Dc0RLBL23gwrxDlsC0dYMZBhucdHaeNyAphXbbJowo=; b=SgwQ3y2744CKtLphieRi0+vflTWSALkzffhbdwb05pEpNfkVQJbzdNYPeNi4ZJHwk5 y1MobynaOSKd2BL7h6caTkrym3jdu7hEcvG50UbI/pnGwjK5ZXNWbhG/AZPQSlIN0cbB C3mdHXdG7VNT7CZ4KTIU6atPDHXG1XD+/goKBwocgQUTtx8//SdLPTQDCL/KjiDTW4aY pfVFEmq0D1vZMqlY2Hg1CXhZh4qD3gr3XrqIfffepQgX/LKsd8P35ZrDNflulDOqHg3M liyRsbgFFr25cj3WYl3EcDzd5q39QjE1AdxysoKix4Dv4YlckIYKkWSOYnSEPr/jaEkJ rGAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aZkN+JxH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id l37-20020a635b65000000b0057047d68821si1608376pgm.565.2023.10.17.05.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:44:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aZkN+JxH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4733980942E4; Tue, 17 Oct 2023 05:44:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234304AbjJQMok (ORCPT + 99 others); Tue, 17 Oct 2023 08:44:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232228AbjJQMoj (ORCPT ); Tue, 17 Oct 2023 08:44:39 -0400 Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D42595 for ; Tue, 17 Oct 2023 05:44:37 -0700 (PDT) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-5a7dd65052aso76717307b3.0 for ; Tue, 17 Oct 2023 05:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697546677; x=1698151477; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vQVpipJ8U/Wmxx6yT1J99VV5RzOgH7yDeQqapC2EK3w=; b=aZkN+JxHj8YJkR2Y2POFm+6gPYcJnTyNzA6Xdkd/V7Th2EoDM+Bsr8f4Nhb6riPUMi 2VbIugC8Ewyp3MgOw9gHJznFwTUikJCRF6kBLT7I2Yc+CEujP/cnauXeTx+QcZPN8Yo6 GZmzsuHj3lWr1K1AcW6E0bP+10wTzvuM8GOzEbRgPMBOBYun13r4C2Kw2N3g7LPk5EpZ r2xM/zA4masCOD4aUUCv8yulSQZk6P1GEMPlMc80FNN/xwP9MwjTNQ4TKXMd9W/TyMYl PEk/9qZ2L54Eg9oOr8Bevsz4Dc6HTYBsDwcSFobbJhrvXrHF8VEz1VceYJkOsPSaAhN4 Q5xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697546677; x=1698151477; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vQVpipJ8U/Wmxx6yT1J99VV5RzOgH7yDeQqapC2EK3w=; b=IbiSHujT2jbrHobn3QtR+Juvwl5jM1hwI73NdBbRIYexpbaAqW5mKPqWuBQmaC4p/m KUeaze60FU8issCZPI0dkxS+dxJaP0k41fz7XtcxDsXB8MdZuhcAlCQwuph9ImEpXsEw Wbo/1vsGsSE8llsfW7QTvuokD1LABqoiCiGkD48dZIucEwm5/TLXdwGm6FMXuDSRXuDp ijrWpRTaPk/I0z65Ejg9Ga7xpD4aPnSu6gzJLGStHL6TExlxA9G5hmn1qzABkv65AJjd 0HX0sn/4k46E+d9TV464FcYwH9F9DzUJGbEih+xiKeNwcrfGNeSPSIGHyEuH3LzWPEes cAXw== X-Gm-Message-State: AOJu0YyVfcUcNMI4vOcpAFNzCKsrichCR+LtZ4HsLuqjKbC5ua+cS0x4 HASwxlCYRieaIh6beawk6uTYZ3CkCWN7ZlEqMI6ecOtyVoGVZzZb X-Received: by 2002:a0d:f701:0:b0:5a7:b481:4dd2 with SMTP id h1-20020a0df701000000b005a7b4814dd2mr2147572ywf.47.1697546676827; Tue, 17 Oct 2023 05:44:36 -0700 (PDT) MIME-Version: 1.0 References: <20231017120431.68847-1-brgl@bgdev.pl> <20231017120431.68847-55-brgl@bgdev.pl> In-Reply-To: From: Bartosz Golaszewski Date: Tue, 17 Oct 2023 14:44:25 +0200 Message-ID: Subject: Re: [PATCH v3 54/73] pinctrl: intel: drop the wrappers around pinctrl_gpio_direction_input() To: Andy Shevchenko Cc: Bartosz Golaszewski , Linus Walleij , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 17 Oct 2023 05:44:47 -0700 (PDT) On Tue, 17 Oct 2023 at 14:41, Andy Shevchenko wrote: > > On Tue, Oct 17, 2023 at 02:04:12PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > pinctrl_gpio_direction_input() now has the same signature as the > > wrappers around it so we can drop them. > > Reviewed-by: Andy Shevchenko > > Now, for the sake of symmetry can you add (at least to the all > Intel drivers you modified in this series) the following: > Good idea but this is v6.8 material, I don't want to extend this series anymore at this point. Bart > > int pinctrl_gpio_direction_output_with_value(struct gpio_chip *gc, > unsigned int offset, int value) > { > gc->set(gc, offset, value); > return pinctrl_gpio_direction_output(gc, offset); > } > > > ? > > And respectively in this driver > > .direction_output = pincttl_gpio_direction_output_with_value, > > > -- > With Best Regards, > Andy Shevchenko > >