Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3128263rdg; Tue, 17 Oct 2023 05:41:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFULILwXFuFP6HJI+HQUsgHtQmwoSuCgA0zjxHz6Qr5kLqrRTXoGSm6KZzF25E5mFaPozrU X-Received: by 2002:a05:6a21:6d91:b0:17a:d173:42ef with SMTP id wl17-20020a056a216d9100b0017ad17342efmr2070326pzb.20.1697546518324; Tue, 17 Oct 2023 05:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697546518; cv=none; d=google.com; s=arc-20160816; b=Jl9E+dFBD3ga7vRUrmpKDpLNhZxaMQ/x5RxLvMrV+uIpeec+Pq+aiI9ZrxiH3ousJw xWxtU/7VQeS4Bxqk1D69xSFsZ2185WSS9qXjGkulwbBFtXT+VG+3Ff5ACFJYFoCmuXj5 jHB+QmMXfWSQPVdXZmmu2DS6TIhLEwafR4aQ/NG53xiIKh83R22iUvHxmNvYp257hjOa fYNe6O7phoIGQ2tTamNyyctxMwlMZbSn6GWRTgfDxNKpsSLkcnp1YXFRHfsr+ndpkloJ NaEpwlxB65inY5B1fE2jp6Co8D7Ym65RhtksytMQNfyXi0khjYTuMk5cs6A+7w12WUpg 29rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=u+uiO0ejYyGmEmMykXgqBZrCnAEi8MdtLopzjvOY0Gw=; fh=Fn31UWMv6ipTTGqCqppDZwGK10Xit8vHpFDSYzJzFDU=; b=ATbisDxAGF6z0oFUxQ3aPGljCbQeSOHwdTymhFpcb5qzdNKpTaPpJFy4+jIWe0HLbb nJN0HPe/eYftCe9guOBARIap2AkF2oYpJcjY/yXAhSLEh2MyVCnRQt+lJmrDHgTsaoVx Wpj50Oa2K0BPBdWhZnPil3Pohybu5fXv1sS8IULIqkOvHjUXZpd6aXy1+UD3b9oLjbCl 0uJniFAnCilVnLW0mKvaWcegGuo7vBGZFveIVukgXCpvuVrcZiGrQeNzSChQFX+5PdWY PhD6KTTjxiHNGQpU+93+mV4rVa06bEg6UelXDYnZ3tnbPE5m08kpEuIq7UX2lHsQg9YW jEaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MsxJTOB7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id p6-20020a631e46000000b005b18ac47c0fsi475604pgm.532.2023.10.17.05.41.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:41:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MsxJTOB7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CDD1580D31D7; Tue, 17 Oct 2023 05:41:56 -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 S1343548AbjJQMlq (ORCPT + 99 others); Tue, 17 Oct 2023 08:41:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233345AbjJQMlp (ORCPT ); Tue, 17 Oct 2023 08:41:45 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFFA2B6; Tue, 17 Oct 2023 05:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697546504; x=1729082504; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=DqvnkqZQqzze6HgU3TyN9STbBqmIck9svTPXj7BsI6o=; b=MsxJTOB77B+242DBDHi/DWMrG5diPk+mYX8D3ZH9yUhnrwYo6cwLlERv w5rpn3Ok8YJIOmbBLRR6b20IRa8zprB4C4XMcu9QQfetjqiwVBFoFsGfR 3bCGDjYGrFvkBdqzS/Nt4qapHdwQ3YPyu4A99zYhMl0a5is4YZU8YG9SK AEeiSiSFf97BlfqmnCSC6qxWfNV6YyexSc2jDbrvxBPwwHS7WdYcduMZL jUJ0EKfZf14Dt6dgog4LX/HTeHfEbBSx1h3Rw1kG8pLRXROzbLsUznaIR 8c6FinJlSei4fq8J+9CWQNf1c464uWxtPtQszg7RWNzKGpYOWrGJZztzQ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="376137314" X-IronPort-AV: E=Sophos;i="6.03,232,1694761200"; d="scan'208";a="376137314" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2023 05:41:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="732712448" X-IronPort-AV: E=Sophos;i="6.03,232,1694761200"; d="scan'208";a="732712448" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga006.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2023 05:41:41 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC2) (envelope-from ) id 1qsjOF-00000006Ho0-00jH; Tue, 17 Oct 2023 15:41:39 +0300 Date: Tue, 17 Oct 2023 15:41:38 +0300 From: Andy Shevchenko To: Bartosz Golaszewski Cc: Linus Walleij , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v3 54/73] pinctrl: intel: drop the wrappers around pinctrl_gpio_direction_input() Message-ID: References: <20231017120431.68847-1-brgl@bgdev.pl> <20231017120431.68847-55-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231017120431.68847-55-brgl@bgdev.pl> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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:41:57 -0700 (PDT) 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: 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