Re: [RFC PATCH 47/57] drivers: mfd: Use driver_find_device_by_name helper

From: Suzuki K Poulose
Date: Tue Jun 04 2019 - 07:46:01 EST


Hi Arnd,

On 04/06/2019 10:45, Arnd Bergmann wrote:
On Mon, Jun 3, 2019 at 5:52 PM Suzuki K Poulose <suzuki.poulose@xxxxxxx> wrote:

Use the new driver_find_device_by_name() helper.

Cc: Lee Jones <lee.jones@xxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>

I see that there are currently no callers of this function, and I never
liked the interface anyway, so how about just removing
syscon_regmap_lookup_by_pdevname instead?

If that works for you, sure. I can send in a patch separately
and hopefully I can remove this patch depending when the said
change lands.

Cheers
Suzuki