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

From: Mark Brown
Date: Thu Jan 24 2019 - 12:50:49 EST


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 *),

Attachment: signature.asc
Description: PGP signature