Re: [PATCH 1/5 v9] regulator: gpio: Convert to use descriptors

From: Linus Walleij
Date: Sat Jan 26 2019 - 07:23:36 EST


On Thu, Jan 24, 2019 at 6:50 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
> On Mon, Jan 21, 2019 at 10:12:02AM +0100, Linus Walleij wrote:
> > This converts the GPIO regulator driver to use decriptors only.
>
> This patch breaks the build for me:
>
> drivers/regulator/gpio-regulator.c: In function âgpio_regulator_probeâ:
> drivers/regulator/gpio-regulator.c:256:33: error: âdevâ undeclared (first use in this function); did you mean âpdevâ?
> drvdata->gpiods = devm_kzalloc(dev, sizeof(struct gpio_desc *),

Hm that's fishy, I have compiled and boot tested so it must be that
this is somehow the wrong patch contents or I didn't properly
merge back some changes :/

OK I get back to double- and triplecheck the build on each patch.

Sorry for the mess.

Yours,
Linus Walleij