[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1379e9d4-c020-6180-69e8-f15a9e0983bc@arm.com>
Date: Thu, 18 Apr 2019 16:18:11 +0100
From: Suzuki K Poulose <suzuki.poulose@....com>
To: rafael@...nel.org
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
coresight@...ts.linaro.org, mathieu.poirier@...aro.org,
gregkh@...uxfoundation.org, linux-acpi@...r.kernel.org
Subject: Re: [RESEND][PATCH v2 27/36] drivers: Add a generic helper to match
device by fwnode handle
On 04/18/2019 03:39 PM, Rafael J. Wysocki wrote:
> On Tue, Apr 16, 2019 at 12:53 PM Suzuki K Poulose
> <suzuki.poulose@....com> wrote:
>>
>> On 04/16/2019 11:48 AM, Rafael J. Wysocki wrote:
>>> On Tue, Apr 16, 2019 at 12:39 PM Suzuki K Poulose
>>> <suzuki.poulose@....com> 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 <gregkh@...uxfoundation.org>
>>>> Cc: "Rafael J. Wysocki" <rafael@...nel.org>
>>>> Cc: linux-acpi@...r.kernel.org
>>>> Signed-off-by: Suzuki K Poulose <suzuki.poulose@....com>
>>>> ---
>>>>
>>>> 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
Powered by blists - more mailing lists