Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2710658rdb; Mon, 4 Dec 2023 05:39:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQa0bnMmVLpnne5LoSfenhzf6IKuhXV0z/UCQ9KY0w+q+QK+/NJZNmuzbPiP5TCw0la6tP X-Received: by 2002:a17:903:32d0:b0:1d0:9660:fac3 with SMTP id i16-20020a17090332d000b001d09660fac3mr1021933plr.109.1701697167742; Mon, 04 Dec 2023 05:39:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701697167; cv=none; d=google.com; s=arc-20160816; b=j0u92yCHiRhGCx6j7EzIDD3dVqI+QUac36YIX4h3VeOZFs99EgB7GX5iQKmnMCikQ6 HR/R2AzE1XFP9qqmpcK+XeG5bzC4Gx9mY3GhDH9WN/vYsBFZHKcCk/9ArdZlN30dBYNW YSUrDSFnVkBDZJtn/ci/dBcmaOHXreTAA4CEQaInL93/MswK0L8XINqFBWTjFy4nZ3ca qyowUtcO9hqlptZ17q18evzgERdzg9YJ61/rb//K/yMNR3tClkUo/CBAFRpXMg/d9lrT YCXbJahv8uafUDg1eq5FxG+k4EeXwzHcIwnbpbIhKIFSkLthuIAn3YBfvvRTWdkwQzr+ Wxpw== 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=Y1UpuRerWKubmFOnOhiP1vLCixCHUqesCX/FHO4e/TE=; fh=OaWD70+uD0B6xRXz1yAVznRbmdBKvBIpZnVTffFWNyw=; b=k9gT1RVMERmz90MKeXc+Ts5HDwEj2bbuH8W0Fjefgu+LLQZimKcsfwM0QjCHJFr5pt sEiUU21yrCOKlC5pHyVYChigrui4DWrtTh2eQlbcPpkTar4wUGvjZvqFsPA72LnRWiNN J39pI2oiqIwBQvdiKlK7OrUjrTBABJK+zksXUPcWRjhLw69fyqSRl4mh0prKQDsmf9oo hPFwwiH45uw1xQq9X4j33klCh9tbNSG0VTbvlNvBPYhs9Mv19nKEZYrn5yFi/27AQ2ch SMN1dHmBj4Din+rcdXzNQ/E3wpBT7ysZBrQ/a4Z04DyIzBidV0E7kbo0A6PbKS2VKKVh jqFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=CGA7vVyB; 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 x9-20020a1709027c0900b001d0b6ba6109si631201pll.248.2023.12.04.05.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 05:39:27 -0800 (PST) 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=CGA7vVyB; 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 6BE91809F89F; Mon, 4 Dec 2023 05:39:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344391AbjLDNjM (ORCPT + 99 others); Mon, 4 Dec 2023 08:39:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235606AbjLDNip (ORCPT ); Mon, 4 Dec 2023 08:38:45 -0500 Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12D15D4C for ; Mon, 4 Dec 2023 05:38:33 -0800 (PST) Received: by mail-ua1-x92a.google.com with SMTP id a1e0cc1a2514c-7c51d5e6184so1292523241.2 for ; Mon, 04 Dec 2023 05:38:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1701697112; x=1702301912; 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=Y1UpuRerWKubmFOnOhiP1vLCixCHUqesCX/FHO4e/TE=; b=CGA7vVyB5ChqTVVkV1hwVV8KS90GhdrGSkiq5tzDVvr4E5GcXep42sHeQIgOfODVFb L/6hmiWHuadgMllTs34OvUwlY5HE3TlENDmYrLiOlDszKkvw99K/7jyaj8adquzBEJM0 XHRYvO6DSE+C0IG6ZOjsNBftedug/ToQggmA6KwlyIJQrBcEjaeNEOA4OkpSsfSN/rYY BtxURbqvW1iURtRv428jq8YT7jduDD0kEWy2+iFk6rx25wVvr5ij8ojh8zb7S0ZVHr8w 9woJZytrFAbwqbrf+eoO+8Z0pdytfFoXBYPBRQ3Gd95wxAcd/HyH3uUcx7S9p37AyMKl A8fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701697112; x=1702301912; 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=Y1UpuRerWKubmFOnOhiP1vLCixCHUqesCX/FHO4e/TE=; b=Az8k5v9tno7CCAHnrLWAht1zPqRHjSS4MtBrHuxcQikAugPs/iRoGRA/IqN9KRF0Hs D48qyDG69jsjvXoGxQq9jZ9hqOUV22zREUCjYnuY3cKAu51Gtwl42QtyEz5phjJwmpNv H9JGSVIHn0gsE40vVvkrG/gAGJNd8v0sLlBw4DPMQ5MwCtWlQKDrRbGnFr9/KuwKGQXU 0FH1TFTak5OyQtsraHwBBpmpEIALF7tzhSjK7lHCAfBlJ4P65joL9Chzs+J9e2xdB6wR QAS84qbuj22dU0NjSlVNtQzJgSw7yRlOfQ4JY+gcF1WP3a9L5XbcU3qA0THZyOCF1/ag ntrA== X-Gm-Message-State: AOJu0YxFqQkry4DiOHQ4Y52qQmAoPO9pJQQlFHFLOC/45PzhFi1cXN9N fXe3K00FtQoP8dhRKooKfUTqeEoUXWGGuwsSyHOcoQ== X-Received: by 2002:ac5:cc48:0:b0:4b2:c554:e9b8 with SMTP id l8-20020ac5cc48000000b004b2c554e9b8mr2292269vkm.26.1701697112157; Mon, 04 Dec 2023 05:38:32 -0800 (PST) MIME-Version: 1.0 References: <20231204093509.19225-1-brgl@bgdev.pl> <20231204093509.19225-3-brgl@bgdev.pl> In-Reply-To: From: Bartosz Golaszewski Date: Mon, 4 Dec 2023 14:38:21 +0100 Message-ID: Subject: Re: [PATCH v3 02/10] gpio: wm831x: use gpiochip_dup_line_label() To: Andy Shevchenko Cc: Linus Walleij , 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,T_SCC_BODY_TEXT_LINE 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]); Mon, 04 Dec 2023 05:39:25 -0800 (PST) On Mon, Dec 4, 2023 at 2:16=E2=80=AFPM Andy Shevchenko wrote: > > On Mon, Dec 04, 2023 at 10:35:01AM +0100, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Use the new gpiochip_dup_line_label() helper to safely retrieve the > > descriptor label. > > ... > > > for (i =3D 0; i < chip->ngpio; i++) { > > int gpio =3D i + chip->base; > > int reg; > > - const char *label, *pull, *powerdomain; > > + const char *pull, *powerdomain; > > Make it reversed xmas tree? > Bikeshedding again. :) But I plan on making all local variables across the core GPIOLIB code consistent (no tabs and reverse xmas tree) closer to the end of the release cycle. Bart