Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2368854rdb; Tue, 3 Oct 2023 21:17:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmhTc/ya9cIZfRoNn4E44CGJ0zFtcC8rHpNs4Yek+s9ZAmfIhbkunl9xLx3flx6Ir+wQ2b X-Received: by 2002:a17:90a:fb52:b0:274:7db1:f50f with SMTP id iq18-20020a17090afb5200b002747db1f50fmr1879133pjb.15.1696393036951; Tue, 03 Oct 2023 21:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696393036; cv=none; d=google.com; s=arc-20160816; b=TtVYU4PLvDmECcwXfq1b63H52XHltv1GrRlE2v2U1Gl6+E8uAHS9VDNSOMFLhFX/vX +Fx5Dd7Ok38ItEt7V4Gp1t2Wi8SXmSdDuSwvAGxt18K0eu9Y8RYBbP4Ur7uyPdxVLOe4 YqNzt1LOaTFdCYrveDmxQh1a7CM5w6Dp+6bz2i6Zj/xQ7xefgFovFNQRy+0OilzB4S7i qz0WgFV/dhVgJM/91WTcCZnBf4hxlK8nMRa6Wp4m25R2Q8M3cvk9CYx9uuwwj2I6EkxS nHm5Dd3weve9yRjyRIpb+UGIdKZ/pSuF1AG6agPzaXyj2e2sczzlU/p87QiwoWrpNZSW nKSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1nxELRefWgX/plBQJdhjQvCak5wttkBwSg7H4d2bgsw=; fh=/WMifzJiN/6Ob749C2BtgSv6+zs22SOSYjgEHfCNNQY=; b=ZBjOVhX3VN8NhUWMkrBlNuM8mswXVcdzqzAp/8ypPZXekWn3m2YAZf6YAEG1QLjgRw qq70InxEj633Nt9qmr1LQVNJ+Osa6kXv7EhzNpSd5lf1dAVDGsvS1dYPc0uAGgVfLRpb 2Eyc9FjXsPHA1eu2KGMyf1iMtmZFS1GZZkbXYCgmX6nXw91cKy2vzklGV5+HHSXH74Uw owLEtGRx5czpawVNL3QZfCOXMRNGmb/oK5/T0eIfvcrT6wTFZKEXkPiGzrsN/bCPK0aH eJJpWZ5rBwjkr38TanoU+jnxtgdgqdA9S2aDds5qo1StWXbGFHWnfnA1Gg49JZJjWLtt Vs2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZhJHid3v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id b15-20020a170903228f00b001c0ebd96c51si3087780plh.602.2023.10.03.21.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 21:17:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZhJHid3v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 pete.vger.email (Postfix) with ESMTP id E3B5780763CB; Tue, 3 Oct 2023 21:16:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232628AbjJDEQ2 (ORCPT + 99 others); Wed, 4 Oct 2023 00:16:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232115AbjJDEQ1 (ORCPT ); Wed, 4 Oct 2023 00:16:27 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41071AC; Tue, 3 Oct 2023 21:16:24 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-694f75deb1aso404980b3a.0; Tue, 03 Oct 2023 21:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696392984; x=1696997784; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=1nxELRefWgX/plBQJdhjQvCak5wttkBwSg7H4d2bgsw=; b=ZhJHid3vfNqq9UAEirwWnFzrHk55WUotgAdZP8n+cZGYSJBUQn5ksyeERXCKsiEglD 9zzuWQrPPEzhC07mtwNCakoJgz7LkiCE6M9zyUxLwXaXf+HV3i24kY0qZWeSRYloflZs oItLUrmxv1N0ZWJChQJJpcxoJwPwwKgGzd6E6ZIXZgHl/9yvwB/nqsDT9g9VmWnlqcon qbUwaGF1JcK4LBgB90e0ollY/al8S1RtuFliXGl/xLOZe75Lwx/xVhW1xPG82SmKnpW+ x9eXrAoYXUJdIJ7GGk4nj3hF0sVBZVROyC+1Lo0SMig2RE0DOO1RV0gON+q2ejCHJMwI FkWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696392984; x=1696997784; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1nxELRefWgX/plBQJdhjQvCak5wttkBwSg7H4d2bgsw=; b=qLyGOYRIfZCWbGQPx7Xa7FdYrm0NdtDIzXGV+oYBTDcTb5QV8NEttFdZM9qCy0EWp1 1D7uxWe75dyldFYqhRxk2T374/5ohLOfNveLs86YebZ5PaBxZSJSHJwCV/NCaGKUfzQx NkBIE5MN1WRFqlHTZCPGZyvlwmFyt0eo768k+iDI6xFXc/F374PQjE8UOof+XaKqbIWI 7Sm0ex8shxS0vdtj2o5qSHtxEorHz8KRltd8SJ0/KDZrpWb/pa9v9J5Es80GW+Rat84Q wbs2oGvk7C+8b/X0IjrBXxa9j1lbGr1FKMeRXKpjyC42Ybb7TU7BMZ/Sj+n5/0Y0yr0Q dosw== X-Gm-Message-State: AOJu0Yx1EmyV52gnGPeePDUvZ8da2M1P+vDO4KxHO/8SmBwj1wlWIWNs 0H+Es3+dR17OePKRsad1Zaw= X-Received: by 2002:a05:6a21:1a3:b0:134:73f6:5832 with SMTP id le35-20020a056a2101a300b0013473f65832mr2023860pzb.16.1696392983587; Tue, 03 Oct 2023 21:16:23 -0700 (PDT) Received: from sol (14-200-166-90.static.tpgi.com.au. [14.200.166.90]) by smtp.gmail.com with ESMTPSA id n3-20020a6546c3000000b005706b9813afsm1959884pgr.90.2023.10.03.21.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 21:16:23 -0700 (PDT) Date: Wed, 4 Oct 2023 12:16:17 +0800 From: Kent Gibson To: Bartosz Golaszewski Cc: Andy Shevchenko , Linus Walleij , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH 04/36] gpio: cdev: use pinctrl_gpio_can_use_line_new() Message-ID: References: <20231003145114.21637-1-brgl@bgdev.pl> <20231003145114.21637-5-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 03 Oct 2023 21:16:35 -0700 (PDT) On Tue, Oct 03, 2023 at 08:07:05PM +0200, Bartosz Golaszewski wrote: > On Tue, Oct 3, 2023 at 5:24 PM Kent Gibson wrote: > > > > On Tue, Oct 03, 2023 at 06:17:27PM +0300, Andy Shevchenko wrote: > > > On Tue, Oct 3, 2023 at 6:02 PM Kent Gibson wrote: > > > > On Tue, Oct 03, 2023 at 04:50:42PM +0200, Bartosz Golaszewski wrote: > > > > > > ... > > > > > > > I agree with the change in principle, just not comfortable with the naming. > > > > > > +1 here. I proposed some names, have you seen my comment(s)? > > > > > > > I have now - any of those work for me. > > Whichever is consistent with what we are using for gpiochip functions in > > gpiolib would make most sense to me. > > > > Does it really matter? It's not here to stay, it's temporary and > exists only until the whole series is applied - which given that it's > limited to gpio and pinctrl, shouldn't take more than one release > cycle. > > There are plenty of examples of this naming convention for temporary > symbols - there's even an ongoing effort to replace all .remove() > callbacks with .remove_new() which will then be changed back to > .remove() treewide. > This was the only patch that I was included into, so I didn't realise there was a treewide rename at the end. Even so, using _new suffix for that purpose is poor (well pinctrl_gpio_free_new() did draw a laugh, but other than that...). Perhaps use something specific to the patch series so it is clear what its purpose is? Cheers, Kent.