Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2442486rdb; Wed, 4 Oct 2023 00:52:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHMxYOJN+CtoLv5FHfd1HPXZeiP9qRx59D3pQXQj1Qnp4cBQLurbnp1EPHymKkYlj0IbIXg X-Received: by 2002:a9d:6e06:0:b0:6c0:9498:7a77 with SMTP id e6-20020a9d6e06000000b006c094987a77mr1556994otr.32.1696405958923; Wed, 04 Oct 2023 00:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696405958; cv=none; d=google.com; s=arc-20160816; b=Gh2uGymIvA8Q7tRMuGT55uLQ/EZPlpz8SPlarypj0GEhkG1fiOz1Hr3RustcHUduaP cgb1GYAn2xV0tnyDBm4ORy8JhJbahws+THTMjoaOQ5lRM4lHAeeEQtQomRzSITvZmD0g QCSC6/yNgMZdFiWe525LvzoJAbTWTGTcJWNPrJ6woAbf2DXpRiqTaOFIVm8A2lj6sfg9 s9/By7pPnijkly8G9u4ZIl5jQMLpeuzTtqfES1VdCxXfCbAEPBkMJG5t/KwiJfyBmPKS cokFekLoC7nyrrP35VUkGaqJa4zb0rx1A2bN/wKwcfKkcDQK/xqyi4l4MxIW1yjQ6BML Hnng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=03Hi5B9i19pINHNT2cXNqOx1X0FcGumhn4pSIk+xNak=; fh=vWlLxif8Lrp1ycGqWpnmb7rcK7gqkPKwDHBCi7jqKwY=; b=y+yic7r0DwyF85ET/W+FrEKdHbtGrBriReFilQeuYo1+QC7nYkJpivHeLa80jqyr1P UxAsVC1KpgKeZSAMzM8k+WQiOurM7Vq0ahWN5CNpmfZwdz5z7OHiIBlXifi7ilkTlOoK Jdfwr9EU5se0VxF1HcjnIkdXkkwW1X6T69A0SVx22CBoDr8tSO7c5Qg1P11b6oV7LYDi Sv9hgQs3HUk/zquMG633GZr+H1fN9D6u7ixyaJ1WT8nh4sYpVA+zQvmIQtjyED9Qm9GY 5qRmtIYwLFqooX1npugJ/nZS6abO8lQtqeMw1RO4yhVO6IUsv1chVQuXm0f++6tzoBP5 zE6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=eQrRQ3Ra; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id c128-20020a633586000000b005780f049ffesi3206365pga.347.2023.10.04.00.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 00:52:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=eQrRQ3Ra; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 53A1981B2138; Wed, 4 Oct 2023 00:52:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232797AbjJDHw1 (ORCPT + 99 others); Wed, 4 Oct 2023 03:52:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232808AbjJDHw0 (ORCPT ); Wed, 4 Oct 2023 03:52:26 -0400 Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0BAAA7 for ; Wed, 4 Oct 2023 00:52:22 -0700 (PDT) Received: by mail-vs1-xe35.google.com with SMTP id ada2fe7eead31-4525dd7f9d0so789271137.3 for ; Wed, 04 Oct 2023 00:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1696405942; x=1697010742; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=03Hi5B9i19pINHNT2cXNqOx1X0FcGumhn4pSIk+xNak=; b=eQrRQ3RavQstAxnnc9NV5ckZCXwC6lxv+zSCtib6DEZTwgDOTh7osGGgAlGLbPA2tj prZ7IdsKZj7OarD9h4KjsatO34L/hj3cvneJZvXYqhyk/BNqu5/M/sIUb4acFIxwbtsk D3oegfOFluXnnpW6Lpo69IvLvZ2aMaSVqwYcztQthkNkPelkz6mNaTd/YbpP1eTxHFCR +/WoeQXf2rK6rqVqlaV64CAn6M0UN+uHPh5PW9e5IWcVR7/E1aEGp7ZWhxYJPwJ5Ejxo IqVH4XXb+ctd+fDNOdevUXY1p0DDk9p4CtQqMV3jxNc7ZCgjl24CBrd1zb7jyLEXXCqN g+oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696405942; x=1697010742; h=content-transfer-encoding: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=03Hi5B9i19pINHNT2cXNqOx1X0FcGumhn4pSIk+xNak=; b=jum3knS2iN7AzjnrXvwhwHz2wLd3Pk8XX3heujrmU2krnL8phtyVkMyCf2gJnhji3y OzQiqgWXE7Nq7dVdJlnIRGqT+KgrSii75nzzQydAKUx8hl5NirjnUTjgJ162/Yzlt+l1 9qPrasOwmu9FwNubAbea5PRZMpRKJMVETKzVHhF2avUbZG3p/mohimGLJu3aogOGoKmg c7O5HK44FF3suUkf1xsNmKNm6WebBo6QcJdd6oTMed0Gw4Vn1yM4NLbNHEkx8nmSubcn 9QrLEJr1kHi8s1XaEurHqFHgXWL7pdWR7MhjL8hDSUFl9d3E2Gjuv4RwSkOF6qwL+129 /6hA== X-Gm-Message-State: AOJu0YyQNQ99M5uj29jEuS3JtVB/SVhhEm3bRXjGheFepQ3rARDiCKM7 9ZpcVD1MnM8p4XKhpw3LGmLjbM0hYi61x02y4is0oQ== X-Received: by 2002:a67:fe88:0:b0:452:513a:ac1d with SMTP id b8-20020a67fe88000000b00452513aac1dmr1202409vsr.15.1696405941802; Wed, 04 Oct 2023 00:52:21 -0700 (PDT) MIME-Version: 1.0 References: <20231003145114.21637-1-brgl@bgdev.pl> <20231003145114.21637-5-brgl@bgdev.pl> In-Reply-To: From: Bartosz Golaszewski Date: Wed, 4 Oct 2023 09:52:10 +0200 Message-ID: Subject: Re: [PATCH 04/36] gpio: cdev: use pinctrl_gpio_can_use_line_new() To: Kent Gibson Cc: Andy Shevchenko , Linus Walleij , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 04 Oct 2023 00:52:36 -0700 (PDT) On Wed, Oct 4, 2023 at 6:16=E2=80=AFAM Kent Gibson w= rote: > > On Tue, Oct 03, 2023 at 08:07:05PM +0200, Bartosz Golaszewski wrote: > > On Tue, Oct 3, 2023 at 5:24=E2=80=AFPM Kent Gibson wrote: > > > > > > On Tue, Oct 03, 2023 at 06:17:27PM +0300, Andy Shevchenko wrote: > > > > On Tue, Oct 3, 2023 at 6:02=E2=80=AFPM Kent Gibson wrote: > > > > > On Tue, Oct 03, 2023 at 04:50:42PM +0200, Bartosz Golaszewski wro= te: > > > > > > > > ... > > > > > > > > > I agree with the change in principle, just not comfortable with t= he 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. I didn't want to spam 20+ maintainers with the entire series of 36 patches. Should have probably Cc'ed everyone on the cover letter though. > 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? > I think Linus will end up applying the entire series to his tree in one go in which case the name really doesn't matter. Do we really need to bikeshed about the name which will exist for as long as it takes to apply the series on his laptop? I much more care about preserving bisectability across the series which it does. Bart