Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp510988rwb; Wed, 9 Nov 2022 05:34:22 -0800 (PST) X-Google-Smtp-Source: AMsMyM5HPL2LRuP6D3TAi1MOkzUu3nzzR23F2oFvsLR1y3GQCXRIJwKMHT2TFIciam3sSwoLDHVz X-Received: by 2002:a05:6a00:134b:b0:56d:96a6:ad6a with SMTP id k11-20020a056a00134b00b0056d96a6ad6amr47467074pfu.69.1668000862580; Wed, 09 Nov 2022 05:34:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668000862; cv=none; d=google.com; s=arc-20160816; b=tG8EFEthf9TO4r7KAxmStzz3n9AGKmWVkVTPM47XAXSFLtqBdnTR1q8ZKqM0JYoCR6 8ekWm4wtDjUJxHIeWi+6gnTnmDKHxTBtKZvdLVppFdQa8nIhydcEjumbJPakvrsSHyOY ctsAdfbakaFqV79vkZoIP9aTXHKgnEeP2BC50WG2hBdX2NIlOMfDMYxGv2brgs7DM0gV IuMLxdDNN5ayZ5ekBTwXnohfE6r5oUaxWdpH3dQHa5y0qdcPxOolFQ+Dwo3ctXIUM174 /9uwGSInftg1LLmg/8xRZ1FKa8cy1OtROoJ6ab+1TWA3xoTqivKix99FZvBxnteNP4p4 ZWtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+S5RqoJR7eNe+UaJkaYqcNTqaJzBg/EYLhKrA3XeTJU=; b=PLRE2njOIj7XK9KZrWY5XqNppOD5vGYQD+AO0pdcia/dkb802hHrL+TRMkF+gIc5Ul zhDa0bluisRui8pOjR7Q+GFiP2cZKMHfZvFABqst1BSp3WwCdyMKdNK8h8tFblb35EvZ 13osauj6yZESPwKM3Nfmx49DjLstuAy6i+EH7KluL9d00yrAx8oxiAH00LefG4iqExqZ T7lfCEOSxawkTVdu9Gr5vZ3NbtlCvVWcUV9v1wR/A5Fsq4fe+aDMNex6RD2JHZDXGFGV tkmC5ZhmAWdNPNLklscjx3XNvUGZG+ldsiB37Qda1tO7hAOVcoLh3rlZSnvWYNT/uc+P Dlqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=rel5ChBG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t186-20020a6381c3000000b0046fad9b36c6si16966890pgd.155.2022.11.09.05.34.08; Wed, 09 Nov 2022 05:34:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=rel5ChBG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230156AbiKINA3 (ORCPT + 94 others); Wed, 9 Nov 2022 08:00:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230184AbiKINAR (ORCPT ); Wed, 9 Nov 2022 08:00:17 -0500 Received: from mail-vk1-xa36.google.com (mail-vk1-xa36.google.com [IPv6:2607:f8b0:4864:20::a36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFBE12D1F6 for ; Wed, 9 Nov 2022 05:00:15 -0800 (PST) Received: by mail-vk1-xa36.google.com with SMTP id r13so9279582vkf.2 for ; Wed, 09 Nov 2022 05:00:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+S5RqoJR7eNe+UaJkaYqcNTqaJzBg/EYLhKrA3XeTJU=; b=rel5ChBGOWyyPrddCcExdpNk6z2wGkv02sSJ3Ur8AgAiG81XQo6uyS7ekn5oSKkVD/ 0K2A7M8rKye5Ef9vzj5Q+WX+6PdEllkM5zevX9Y2XeNeOTo5gK3ozm/jCMy6HaV08zLt Jgnjft+gnVJNZa37xueaFYjkxwLXGOUs0MaZ9/RCKaW55DVX02GaFXZYi8qmaP3/NQGo NACh6/96YRotOn/YrO5Z8u8dTj5tT1R3eoG4tWmY4LqHzL7OMTnUNMlB7R2AQZfSZD0F Cklf7yVZx0xKA/oKNLeNdsHmdpqEvzMElzN81Jw0LF7/dw2u44YCixewsXkQbfCsGNeZ sC7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=+S5RqoJR7eNe+UaJkaYqcNTqaJzBg/EYLhKrA3XeTJU=; b=sQj9E/q8YEtr86Ii6Mx1RPmI4/nxQwrsObhitXLeNXedP4DXRYu3GXmFwDpHsg4frJ t1exXPEQW5lYwLTqXnYYXWlmzc24zWmrYIa7PwciJQ8iPfv8WVJrOsequczyh2x2lY0U U4IIbGZLnKAs/Qzr3DYkCjouWEjpgc/+BwHr55vsSgrE3GHua53p6ElTkHZkY1W30ACa xN+/TUkKzTs5iNBFwR9xYuKtES1kiUZXKmtoSGwfO9xvqFvkHEzIZKcC2SulfTrgiRc0 ySFIMNEIwdhL1nE+kDLfcxGNfcqrMR+6ckww5bP5EPNrIR5BLcpocjZeBtC9Q3H32e7M tBJA== X-Gm-Message-State: ACrzQf084gEZFLECnz9Ebqr2B+zmjKQryUpjsenBBpX0bHi1LNoF2NGN f5Qzg0O5ga7yL9Ac2RbzNYrDAUnEm8yqWRW0D77MIQ== X-Received: by 2002:a05:6122:2219:b0:3b8:7fbd:9554 with SMTP id bb25-20020a056122221900b003b87fbd9554mr10547205vkb.27.1667998814618; Wed, 09 Nov 2022 05:00:14 -0800 (PST) MIME-Version: 1.0 References: <20220902-get_gpiod_from_child-remove-v1-0-1e47125df20f@gmail.com> In-Reply-To: From: Bartosz Golaszewski Date: Wed, 9 Nov 2022 14:00:03 +0100 Message-ID: Subject: Re: [PATCH v1 0/3] Get rid of devm_fwnode_get_[index_]gpiod_from_child() To: Linus Walleij Cc: Dmitry Torokhov , Pavel Machek , =?UTF-8?B?TWFyZWsgQmVow7pu?= , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 On Tue, Nov 8, 2022 at 11:54 AM Linus Walleij wrote: > > On Tue, Oct 25, 2022 at 5:48 PM Bartosz Golaszewski wrote: > > > On Mon, Oct 24, 2022 at 2:18 PM Dmitry Torokhov > > wrote: > > > > > > On Thu, Sep 22, 2022 at 02:48:26PM -0700, Dmitry Torokhov wrote: > > > > Hi Pavel, Marek, > > > > > > > > On Fri, Sep 02, 2022 at 05:55:24PM -0700, Dmitry Torokhov wrote: > > > > > This drops the last uses of devm_fwnode_get_[index_]gpiod_from_child() > > > > > from the tree and drops the stubs implementing this API on top of > > > > > devm_fwnode_gpiod_get_index(). > > > > > > > > > > Note that the bulk of users were converted in 2019, the couple of LED > > > > > drivers are all that have remained. > > > > > > > > > > Signed-off-by: Dmitry Torokhov > > > > > > > > > > --- > > > > > Dmitry Torokhov (3): > > > > > leds: gpio: switch to using devm_fwnode_gpiod_get() > > > > > leds: lgm-sso: switch to using devm_fwnode_gpiod_get() > > > > > gpiolib: remove devm_fwnode_get_[index_]gpiod_from_child() > > > > > > > > > > drivers/leds/blink/leds-lgm-sso.c | 5 ++--- > > > > > drivers/leds/leds-gpio.c | 5 ++--- > > > > > include/linux/gpio/consumer.h | 21 --------------------- > > > > > 3 files changed, 4 insertions(+), 27 deletions(-) > > > > > --- > > > > > base-commit: 7fd22855300e693668c3397771b3a2b3948f827a > > > > > change-id: 20220902-get_gpiod_from_child-remove-a62638849e91 > > > > > > > > > > > > > Could you please consider picking this up for 6.1? Or would you be OK > > > > with this going through other tree (GPIO maybe)? > > > > > > *ping* Could this go through GPIO tree? Dropping this API helps with > > > some outstanding work that I have... > > > > > > > Sure! I'll let it wait for another week - it would be great to get an > > ack from Pavel - but in case of no response I'll take it through my > > tree. > > I'd say just apply it at this point. > Right. Applied to gpio/for-next. Thanks! Bartosz