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

2019-01-26 Thread Linus Walleij
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

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

2019-01-24 Thread Mark Brown
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’

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

2019-01-21 Thread Linus Walleij
This converts the GPIO regulator driver to use decriptors only. We have to let go of the array gpio handling: the fetched descriptors are handled individually anyway, and the array retrieveal function does not make it possible to retrieve each GPIO descriptor with unique flags. Instead get them