From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D65B7E7B60C for ; Wed, 4 Oct 2023 12:50:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242482AbjJDMuJ (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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