Re: [RFC PATCH 47/57] drivers: mfd: Use driver_find_device_by_name helper
From: Arnd Bergmann
Date: Tue Jun 04 2019 - 07:51:31 EST
On Tue, Jun 4, 2019 at 1:42 PM Suzuki K Poulose <suzuki.poulose@xxxxxxx> wrote:
> 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.
Sounds good, thanks.