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

From: Arnd Bergmann
Date: Tue Jun 04 2019 - 05:49:14 EST


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?

Arnd