Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2580263rdb; Wed, 4 Oct 2023 05:50:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF9NhRRfNk6SDwjBvqjCkEt33ToOdAk8HKpwA4qVzbrmLuW6kpqzMuQJqeQBXLxbtjdZq+G X-Received: by 2002:a17:903:2305:b0:1c6:c3f:9dc3 with SMTP id d5-20020a170903230500b001c60c3f9dc3mr2211661plh.54.1696423811971; Wed, 04 Oct 2023 05:50:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696423811; cv=none; d=google.com; s=arc-20160816; b=CFXW1Gslg2Ktt5TeVKF/OTov6vVyauGejLyQ4iGaLAajd5RfuOkC9KcVefGD1V5bjF Kgqf6hk2y2GM+UGRPvvJ3d8sSSsbXduZka6j+rxzBkzq/6JSvAPkS9DtUSksWoxcGpAF rYHNIlvC16kjaEl/7LJ7wJN8Gnjbgj2blC2PddKRe3jELUyCnRNz9pDpUPRw1geDTWBf 860S10NY5hyB2FLXGnUoo/JUx5s8E6Hg7sGnS8UXPH/zLuNwf87Op09GlXBY8wVuyNEJ GrjRKbfGh1n9LrJmOaIJ+yxvUwVStwxynJm7No+AlV+jYq7AnnyOmVufJDoUHjUho0Fa aAmw== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=6FFcxbfDiOc+XwgXDsz1mXeHula4mWo/yHbSJ+HLp8E=; fh=oR8ZQ0z+ZlZlaV2+jyZwpaPNan+XZoJkFqKcBuPZX9o=; b=OlPv5MgQQ9/ACord4pH/qacMCh+fV9g0OswiYL+kLmifStVcnr53g8KX5iBh+cmKM0 eurvTlWWGNaW6wGnrae6rnrZduIKTmx4s4W7S34zUV3EXh1jdkhWOphLX1nqVDzal3tC qlQHgbiydUEvxKrFhfaT7xsBKrZZWc/JU0zMCsYTziGiFWxjhn4JsZyz98VvVWXMYH+S hCNStfjhmkdaj8jXcjBdWRnvwDP/mvtCSns+A8ej6SSRghd4E5v9boRot13+7l0QTzBk i2TIn7KLEvBZ17XsbVYLni+hAhuOkNqJ0Kxf1dPGIu8Ur94uMCtmNUaoYGARPUjvWPkc Bm6g== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id y11-20020a17090322cb00b001c5f6e48d81si4178006plg.253.2023.10.04.05.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 05:50:11 -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; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0E88F8217045; Wed, 4 Oct 2023 05:50:11 -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 S242462AbjJDMuJ (ORCPT + 99 others); Wed, 4 Oct 2023 08:50:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242354AbjJDMuI (ORCPT ); Wed, 4 Oct 2023 08:50:08 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CDEA98; Wed, 4 Oct 2023 05:50:05 -0700 (PDT) X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="362515670" X-IronPort-AV: E=Sophos;i="6.03,200,1694761200"; d="scan'208";a="362515670" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2023 05:49:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="841833198" X-IronPort-AV: E=Sophos;i="6.03,200,1694761200"; d="scan'208";a="841833198" Received: from smile.fi.intel.com ([10.237.72.54]) by FMSMGA003.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2023 05:49:54 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC1) (envelope-from ) id 1qo1K4-00000002m2p-10pg; Wed, 04 Oct 2023 15:49:52 +0300 Date: Wed, 4 Oct 2023 15:49:51 +0300 From: Andy Shevchenko To: Bartosz Golaszewski Cc: Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH 34/36] treewide: rename pinctrl_gpio_direction_input_new() Message-ID: References: <20231003145114.21637-1-brgl@bgdev.pl> <20231003145114.21637-35-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no 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]); Wed, 04 Oct 2023 05:50:11 -0700 (PDT) On Tue, Oct 03, 2023 at 09:08:41PM +0200, Bartosz Golaszewski wrote: > On Tue, Oct 3, 2023 at 5:16 PM Andy Shevchenko > wrote: > > On Tue, Oct 3, 2023 at 5:51 PM Bartosz Golaszewski wrote: > > > > > > From: Bartosz Golaszewski > > > > > > Now that pinctrl_gpio_direction_input() is no longer used, let's drop the > > > '_new' suffix from its improved variant. > > > > This and other "treewide" patches in the series are redundant. Just > > name the functions better to begin with. > > I don't want to rename these functions. They have perfectly fine > names. I want to change their signatures and the renaming part is > there only to make the reviewing easier. So, then you can make them macros and based on the type of the first argument use either old or new API, which you then make public. The all noise with "_new" is not needed, really. -- With Best Regards, Andy Shevchenko