lkml.org 
[lkml]   [2019]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5 v9] regulator: gpio: Convert to use descriptors
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 *),
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-01-24 18:50    [W:0.134 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site