[lkml]   [2019]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/5 v9] regulator: gpio: Convert to use descriptors
On Thu, Jan 24, 2019 at 6:50 PM Mark Brown <> 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.

Linus Walleij

 \ /
  Last update: 2019-01-26 13:23    [W:0.059 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site