Re: [PATCH v2 23/28] drivers: Introduce driver_find_device_by_of_node() helper

From: Suzuki K Poulose
Date: Thu Jul 25 2019 - 14:06:40 EST


Hi Lee

On 07/25/2019 11:51 AM, Lee Jones wrote:
On Fri, 14 Jun 2019, Suzuki K Poulose wrote:

Add a wrapper to driver_find_device() to search for a device
by the of_node pointer, reusing the generic match function.
Also convert the existing users to make use of the new helper.

Cc: Lee Jones <lee.jones@xxxxxxxxxx>
Cc: Thor Thayer <thor.thayer@xxxxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: "Rafael J. Wysocki" <rafael@xxxxxxxxxx>
Acked-by: Thor Thayer <thor.thayer@xxxxxxxxxxxxxxx>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
---
drivers/amba/tegra-ahb.c | 11 +----------
drivers/mfd/altera-sysmgr.c | 14 ++------------
include/linux/device.h | 13 +++++++++++++
3 files changed, 16 insertions(+), 22 deletions(-)

Looks good to me. For the MFD part.

For my own reference:
Acked-for-MFD-by: Lee Jones <lee.jones@xxxxxxxxxx>

Thanks ! Btw, v3 has been posted based on 5.3-rc1. You are
in Cc for that.


What is the merge plan?


With v3, it looks more sensible to merge the patch via Greg's tree.

Suzuki