Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3363374rwb; Tue, 8 Nov 2022 03:49:33 -0800 (PST) X-Google-Smtp-Source: AMsMyM4s84KoH69NTWhAKm8sLW/rK8C+iuDIMDwjMLMyxh5lO9QjEsF8ea2+yPyGsStqKN5Kc7DP X-Received: by 2002:a62:32c2:0:b0:56b:2cce:d46a with SMTP id y185-20020a6232c2000000b0056b2cced46amr55214789pfy.36.1667908173100; Tue, 08 Nov 2022 03:49:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667908173; cv=none; d=google.com; s=arc-20160816; b=UtrNfqI6N1l1Zyuf2yT/5+6kWIazl/yuJ1qqw54lVhFjhOqpaNWOdjYD8k80zUB1Xp RQ5Cdf4A46xvOzxsEcK7THQ1B2G8z6J0pSFHKnYimbOu1p72yDJHxim4JgYFQp2w3Eiy J+Q+eicZ4rhm0POe1WRfo6g8OXlfU1y407zvBQPtjHB2+9/S+MBpu8QisJYXOKLyKz3Z TjYEiQ/gQroxB/TPJid4kYJFyfoOe9kP0T7YjgeOZops1aF8ZHbOQA4JrHK4sPPxPVxd +hzqVxXQ2SBP1+Bs/qgXLz0yo9KIjjlShFpKUj0/9Fkmb/yjopsFNeD7mh19Itc65KTX j/PA== 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=u8F2u7XnHXSi02ZUPPzRhyN9LzC+uyXpgjAwUMrqCak=; b=s2QAgTpNcbtetf2E/Az0w83bDS11OsHniAfDD8OtmNQ/f9yDeatEt5mgw0fuwyc+99 6XJfAdjR7AmWl54gYJ97yUpdZVeGLAftGd2ik+/k29v/c2e3T5t2nRQ5/xQNtyncbBdf X0uKgWt5LSq8HOLyZRKZBo9JISfuLf40stggJFzXL5DoSmCNDXn9Wj9nlzQjq/olkpQI hvsmitEUrjDuu6dftHP2lNto1/ANFROSr8nGM6CoFFcnxgDSrMzRAdOaDYt0YoXje4de psT43V/1Tl3rVMnRWTxZW2b7BQyn9oyOkdk38Z9uEoiPBLjCV3Er6JtjhiZqrk9sGsGQ cOnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gD3OYiXG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p26-20020a62ab1a000000b005635bfe397bsi11655910pff.218.2022.11.08.03.49.21; Tue, 08 Nov 2022 03:49:33 -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=@linaro.org header.s=google header.b=gD3OYiXG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233834AbiKHKyI (ORCPT + 89 others); Tue, 8 Nov 2022 05:54:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233790AbiKHKyE (ORCPT ); Tue, 8 Nov 2022 05:54:04 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 175F745A08 for ; Tue, 8 Nov 2022 02:54:03 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id k2so37576580ejr.2 for ; Tue, 08 Nov 2022 02:54:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u8F2u7XnHXSi02ZUPPzRhyN9LzC+uyXpgjAwUMrqCak=; b=gD3OYiXGpaEE83Zt07u3m3HEcjDa0jisiiEZhbfrrX1/Kc5NTf4xodx4W7Z9IbRN9N YjrviVX5NrAc+NH3m0ChzppmMKfsi72Kgvms+j08FWYT75M/DZ7+Y9i5VJXLjK9Z/cQH 6Bxd3vwj+yn9tPyeg01cB6mSD72Jat9Ig1/96Uy8iFXjsdvZUKZqOZ6GY2B6CnVirLL2 YIO+/CM3j4o4na7Zurq0hnV64f3E3O61UwnRaA2hXVAB/5cpmlPxWI5F/YxYcbAQv75G madN9Z+sLRnNCwhLbpPKES4kvN15zXxnue3LZKkswKUXPYYdQmUGUz0Syv0H2/nxFvUI GW9w== 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=u8F2u7XnHXSi02ZUPPzRhyN9LzC+uyXpgjAwUMrqCak=; b=aIQGhrXUWFgLtNhkq9LCI4gOIDpvgNSpY4GHsCeDnQg94ylh4Nmd+yJV7GtU74pYzN ErRxitCcXwuCMYu2BxkDtP1j7CO3u9C1hEuDAGkUwqaZ0zpEXoXpYq4JXFSMT3lziJTD jl812yu25wHCdCKgxYupi1oBdUBtN1o9JIqeJTs4SSJwab28EHvVT6NRDeoS4LiT41tl 2Qv0MBQPG+gMYl2M9xiYLVqjNTEEOJYYp454jtqxk1kqbYaPW1PfCdz+hyGIf1xpQsXf u8bvIW3Qb11r70NRemXEOh3ZZyWg2kdJHsKxmxgndKonP9kHybx9Bpz/dF+5V5EFKkiA dGRg== X-Gm-Message-State: ACrzQf320OetUwnpi2rIqv8j+YgzXQxcig8yNuBA5krWSfN8AIIgdv3i hqYXEk3kdjTgEC5o9qyt7gZErQ/vUw2Aku/Xm4xwvw== X-Received: by 2002:a17:907:c1e:b0:7ae:31a0:571e with SMTP id ga30-20020a1709070c1e00b007ae31a0571emr20575365ejc.690.1667904841694; Tue, 08 Nov 2022 02:54:01 -0800 (PST) MIME-Version: 1.0 References: <20220902-get_gpiod_from_child-remove-v1-0-1e47125df20f@gmail.com> In-Reply-To: From: Linus Walleij Date: Tue, 8 Nov 2022 11:53:50 +0100 Message-ID: Subject: Re: [PATCH v1 0/3] Get rid of devm_fwnode_get_[index_]gpiod_from_child() To: Bartosz Golaszewski 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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, 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. Yours, Linus Walleij