From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1AD6C10F0E for ; Thu, 18 Apr 2019 15:16:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C23B520651 for ; Thu, 18 Apr 2019 15:16:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aCM+RLHS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C23B520651 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EnsEQoXlZpEXEkmN2NWa6oxss2fRgwKiRDhAFjf8sEY=; b=aCM+RLHSz/QxUIz1ML8WXDbJr i9Q+GF+rKPNEHY+1+OAF94KqaudH9lZjATLtCGjiv1jbOzxKUamxfn2SzPxcsNdqsVGkZJlASCgPl qFCSipzBIQ1D7getHrW6bGohHPmbzZ6NhNFQim9r+x7BUcRo18NPL+DrnQj7JPg30HUhE1lqbDAMe X6tXeapZ8zeJRGxkLDLyzV+YHJe9UmicMBmZg+AQM5C8kKJF6TBu5dZzsKPH9y9dTlyXI9si5xF79 BinDgpNU8ZVNXZvZjA3V1Mp2YkFCdRSUyP34ojXLCrGkiTDgHvlyBfCkSJ1vy1oqSuJ6S4subeGV6 Eoc1f4VjQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hH8ld-0005B1-NE; Thu, 18 Apr 2019 15:16:01 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hH8la-0005AN-N3 for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2019 15:15:59 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6555815AB; Thu, 18 Apr 2019 08:15:56 -0700 (PDT) Received: from [10.37.12.22] (unknown [10.37.12.22]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9E0093F5AF; Thu, 18 Apr 2019 08:15:51 -0700 (PDT) Subject: Re: [RESEND][PATCH v2 27/36] drivers: Add a generic helper to match device by fwnode handle To: rafael@kernel.org References: <1555344260-12375-28-git-send-email-suzuki.poulose@arm.com> <1555411164-26399-1-git-send-email-suzuki.poulose@arm.com> From: Suzuki K Poulose Message-ID: <1379e9d4-c020-6180-69e8-f15a9e0983bc@arm.com> Date: Thu, 18 Apr 2019 16:18:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190418_081558_758322_6ED4C0A4 X-CRM114-Status: GOOD ( 16.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mathieu.poirier@linaro.org, gregkh@linuxfoundation.org, coresight@lists.linaro.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 04/18/2019 03:39 PM, Rafael J. Wysocki wrote: > On Tue, Apr 16, 2019 at 12:53 PM Suzuki K Poulose > wrote: >> >> On 04/16/2019 11:48 AM, Rafael J. Wysocki wrote: >>> On Tue, Apr 16, 2019 at 12:39 PM Suzuki K Poulose >>> wrote: >>>> >>>> Make the device_fwnode_match() a generic helper to match device >>>> by fwnode handle for use with bus_find_device(). This will be >>>> also used by coresight. >>>> >>>> Cc: Greg Kroah-Hartman >>>> Cc: "Rafael J. Wysocki" >>>> Cc: linux-acpi@vger.kernel.org >>>> Signed-off-by: Suzuki K Poulose >>>> --- >>>> >>>> Resending with linux-acpi in Cc, as requested by Rafael. >>> >>> Do any other patches in your series depend on this one? >> >> Yes, I do. But they are in the middle of a big series of changes and >> I don't expect this series to go into 5.2. So, if you plan to pull this >> please go ahead. > > I would prefer the new exported function to return bool. With that > changed, I can apply the patch I think. > That will need changes to all the other callers of bus_find_device() to fix their match(). I guess that is a bit of an invasive change, so I would rather do it in the "consolidation" series with class_find_device(). Hope you're fine with that. Suzuki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel