Re: [PATCH 05/21] regulator: arizona-ldo1: Look up a descriptor and pass to the core

From: Charles Keepax
Date: Tue Feb 13 2018 - 06:06:43 EST


On Mon, Feb 12, 2018 at 02:17:01PM +0100, Linus Walleij wrote:
> Instead of passing a global GPIO number, pass a descriptor looked
> up with the standard devm_gpiod_get_optional() call.
>
> We have augmented the GPIO core to look up the regulator special
> GPIO "wlf,ldoena" in a separate patch.
>
> Cc: patches@xxxxxxxxxxxxxxxxxxxxx
> Cc: Richard Fitzgerald <rf@xxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> drivers/regulator/arizona-ldo1.c | 19 ++++++-------------
> include/linux/regulator/arizona-ldo1.h | 3 ---
> 2 files changed, 6 insertions(+), 16 deletions(-)
>

Does this patch not also need to update the hookups in
arch/arm/mach-s3c64xx/mach-crag6410-module.c? There is
wm5102_reva_pdata and wm5102_pdata both of which use the ldoena
you are removing here?

Thanks,
Charles