Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8670663rwi; Tue, 25 Oct 2022 09:23:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5r1n7RCwm+JIOAjBtiXkpblnl351z/oOLSl7Ga/8F4Cg0ABw8cl1kSZ2sY2l50pNnq+hYk X-Received: by 2002:a05:6402:b0e:b0:461:f7a8:3e3a with SMTP id bm14-20020a0564020b0e00b00461f7a83e3amr6717242edb.372.1666714992113; Tue, 25 Oct 2022 09:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666714992; cv=none; d=google.com; s=arc-20160816; b=0ErRQzarKDgBBCvntyWSZ93Ah6w+uTKPRl2k2uO6wxRGgbM/ra1s7lce+6d5c1Lm8Z BTCiQSyiiVuLtujxGkj+X0tJ5jQ66ojXx5XRgAOf4a2GcXoa5e0qbqMeNe8oUZc3kGn0 TtNyCUmBHAiMrrt/8FvMMxVcDV0j5sSX+TioAWe4E5IiBUKh5r7+j1iyVvCjuDXMGjVN o4T6swzADBXgyl7t2WTua3kthT/9+RY4ALY0iDOH892PWYEfysJHoXRDBlMlkca3yvMg mx5Obe4BQnZOmJLcU8GLTKoONNcODYh7gDVSuV4FdkTU+RH8zoEYlUjQiZ3Gh6fvBnlv noaQ== 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=DRklvTSahTsKtUv05Ip6fTYXC/GiTk1gTx2Lpsmla4g=; b=DT1GToB4IU/QRqMgdKrPiQXYNKS6+D/ZPtSC9Bvsn9capvJB4hrxiXzuP/cFS8VKl4 UZS2G8okPuxkn3SwX/V4qOXDhSsKFL9czvGTuCHkwjTSuwc0c7ee7jeybXaGLeDr3Gwq ok3/kBqJDegqE2OA+8CzfNur8uju4lf2zqBchYESI09NHr7iErsZ8yPXu4IRAsBJ0vUw FnapWlMXWdR/ICpRwRT6+myY82/bSW3hqmo3XnudEFmK3aUyvDskwqHHUYguIWfBoClw VG9t/v2ee5wHeJevJc8ibdXNGB33t631+F8rxxQD+NluPi3ve7IRfQ/TZLIy5jrEX4gs BjvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=et3zIUNt; 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 i16-20020a1709061e5000b007826cb6f57csi1474027ejj.407.2022.10.25.09.22.46; Tue, 25 Oct 2022 09:23:12 -0700 (PDT) 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=et3zIUNt; 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 S232332AbiJYPsQ (ORCPT + 99 others); Tue, 25 Oct 2022 11:48:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231836AbiJYPsO (ORCPT ); Tue, 25 Oct 2022 11:48:14 -0400 Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB04714BB51 for ; Tue, 25 Oct 2022 08:48:13 -0700 (PDT) Received: by mail-vs1-xe2d.google.com with SMTP id 1so11387214vsx.1 for ; Tue, 25 Oct 2022 08:48:13 -0700 (PDT) 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=DRklvTSahTsKtUv05Ip6fTYXC/GiTk1gTx2Lpsmla4g=; b=et3zIUNtsRafG/x6jhertmWMocfgIbsDsG6SuZQVTS+0lhlV/dEk5ju0yz2311v3y1 bmZ7KQJC3YJAR8XlimIvrthFbhbMojRQi7AbML3RsjoAp0YFtyyMwFezdGd7q6KV+S8W CpH7GmHRHFtWO93cznf8+PigdrXNDehDYEEAZW4P1jXHLW0lkKrwkdzRQEA9xqbYSJUu mnYa39ce/5RC9Nj76FpJBOfQuL9QXpIgtjEAUQIehxThxEilqiqvU4CsSuFOwhoCU4ce nzM2XnwceHXWO3/NgOT8d+paexguBqwHWk1RASH/3j2eGgXTmt716TquLKJaWjMwo9uY 0J0A== 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=DRklvTSahTsKtUv05Ip6fTYXC/GiTk1gTx2Lpsmla4g=; b=onQ9rbJrHDkchxULKinM7AkoUlQde6IfgYY1gR080lfq3f1ThoICEp2AtVcqyxtDGA 7yrHa300X6RCNeJurGsvjUtz6k5sJCCaQykIhNqvmVKcPIdiz8e4WljzQlK77m8medtY ixBSopG60p9MbU5si36dGWy52lxu1hnaXuxLjBClghpzV+48bqd3kesiWlJDQC4whyoG CxSKMaf5HW1Qug8ebx3Z1HC/k4OtS1/R78xk/2ZGnLSimIkiA7Aeegbu19DBqsp7nHbT qzoXKJpxXhGSHnuNjXiv5+kpBQLp/0pVbxfIOsqA8yBGsnTDVgz5ibp+FruppNVlsJRK Ps9g== X-Gm-Message-State: ACrzQf1UyLqNfKWqLP4M5+qizlnA9SMx+pHFTTEHmpCb4TcAi8cmhsoH VIdlf4dcF2UNusB4zl3BN+kBFhaQ7//2hRS45FDH/Q== X-Received: by 2002:a67:ac0c:0:b0:3a9:e899:3b9b with SMTP id v12-20020a67ac0c000000b003a9e8993b9bmr16130296vse.9.1666712892973; Tue, 25 Oct 2022 08:48:12 -0700 (PDT) MIME-Version: 1.0 References: <20220902-get_gpiod_from_child-remove-v1-0-1e47125df20f@gmail.com> In-Reply-To: From: Bartosz Golaszewski Date: Tue, 25 Oct 2022 17:48:02 +0200 Message-ID: Subject: Re: [PATCH v1 0/3] Get rid of devm_fwnode_get_[index_]gpiod_from_child() To: Dmitry Torokhov Cc: Linus Walleij , 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=unavailable 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 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. Bart