Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp221762imn; Wed, 27 Jul 2022 04:36:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1txYm+Y2TdkMTu4u8guL2omY7pYenpBtmLcKkmvphu4KcKFuUvrsxgUIrSi0C4sjn4P5wO9 X-Received: by 2002:a05:6402:d05:b0:435:b2a6:94eb with SMTP id eb5-20020a0564020d0500b00435b2a694ebmr22295958edb.87.1658921786448; Wed, 27 Jul 2022 04:36:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658921786; cv=none; d=google.com; s=arc-20160816; b=H6Aqycl8x2y3Ol6hC1eD9M+E+KVMBJUw0u2oNQDD+6LTBztXpqXP+3dBeRIQMjf619 /Ecw2pdlZA6wKOsisLV9oFc3h72gEt2F7jlBJbeF9AfZ8WFeflF7MOwQYUqYo4210Xd8 cV2NgeRUxph1+PlKCt+/Eu4+wUHHLENECkW6SBa2DVd0huUQiVExcOpmROtgLMXYgd6c BrbuZaxm9VAlirk9DpixeloqPe6uh4sXezZYvAXeg8yR4t6L4+onLo/Traj4YZhP/Uyb 6SDgi4dmFFCAZOS6syzE8fzOI687lDPpVAoYgEgbLpb0GHSnNxdq20kL6ILMREfTUzQ1 X6eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=PPDg4sNixDOI2tx+NhY7RFcB9ijmi8RCB6qjkVmU8fQ=; b=SUjeAWSGLPBkC/0EjleRfe5mWEUf9wXvN+qJpbVZFgpJ+/LuG2t8/pXIqeYaOcznDm vilCBWt2wNOdbFryM94Ov47J5EStZsTjkRpR2BJ2poWlAow9ZBft6IF22YS6cVJIl8f9 LVbL2/A1qIpfIKN4JZAt/Fq01TlHKRONd9kRa8JiHN385nznp4Gifxbxk+6OKV6Yva9e 14bgqZ069008EynYRtf7oD+pzhu0ba+QfjPjNsungVXD1zKmwwo0+vftA9Wbcl2rc3Ra LLcgDGI62KNcyp2Gp861fC8THA6NRQxWtt4Qklu3yULUYB30uSh72WI9kuQISEMItmBi kxcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MQFPmWLj; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gn20-20020a1709070d1400b0072b52b30699si22273248ejc.76.2022.07.27.04.35.59; Wed, 27 Jul 2022 04:36:26 -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=@intel.com header.s=Intel header.b=MQFPmWLj; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231433AbiG0Ldm (ORCPT + 99 others); Wed, 27 Jul 2022 07:33:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230521AbiG0Ldk (ORCPT ); Wed, 27 Jul 2022 07:33:40 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 043F1491F2; Wed, 27 Jul 2022 04:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658921620; x=1690457620; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=IeBX7LmCL0VI09++8r3L+Vz4FW+/T20asT8Sfkt+BSw=; b=MQFPmWLjeYweqpxtQuNaf63Gg9Mt8Lqka1yL/GAc504ex4tcTGGdLbPj IHrp8M5urAG1wsb3Vl+yE3flE6L9X7j8Il1bI3+JB+90CN/Bp5EcBHrj/ abK+I4CU4OGhX/U5GyChurGK9h5h1pkf+yqVRdWczHXX0y2rbMjap9UDX DS27QoVX8/Ep3G3Ena9HA1LcTV2Db6XxklfDdEMPMhKwRBfIwzf5G8hUE d4kATzIDlUQK/eKEDh4iBytuatZn2u3VisiQ2skt58PPT5XIWgHbG9Iia nAFUbzlZ69hZ5OR+mjO+eYuoBL/JvccRFxsLcacuAcy9McKrU22dgMyRO g==; X-IronPort-AV: E=McAfee;i="6400,9594,10420"; a="374509802" X-IronPort-AV: E=Sophos;i="5.93,195,1654585200"; d="scan'208";a="374509802" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2022 04:33:39 -0700 X-IronPort-AV: E=Sophos;i="5.93,195,1654585200"; d="scan'208";a="689838477" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2022 04:33:34 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oGfIB-001cWH-0m; Wed, 27 Jul 2022 14:33:31 +0300 Date: Wed, 27 Jul 2022 14:33:30 +0300 From: Andy Shevchenko To: Marcin Wojtas Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, netdev@vger.kernel.org, rafael@kernel.org, sean.wang@mediatek.com, Landen.Chao@mediatek.com, linus.walleij@linaro.org, andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux@armlinux.org.uk, hkallweit1@gmail.com, gjb@semihalf.com, jaz@semihalf.com, tn@semihalf.com, Samer.El-Haj-Mahmoud@arm.com, upstream@semihalf.com Subject: Re: [net-next: PATCH v3 5/8] device property: introduce fwnode_find_parent_dev_match Message-ID: References: <20220727064321.2953971-1-mw@semihalf.com> <20220727064321.2953971-6-mw@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220727064321.2953971-6-mw@semihalf.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Wed, Jul 27, 2022 at 08:43:18AM +0200, Marcin Wojtas wrote: > This patch adds a new generic routine fwnode_find_parent_dev_match "This patch..." > that can be used e.g. as a callback for class_find_device(). > It searches for the struct device corresponding to a > struct fwnode_handle by iterating over device and > its parents. -- With Best Regards, Andy Shevchenko