regulator: gpio: Get enable GPIO using GPIO descriptor
We augment the GPIO regulator to get the *enable* regulator GPIO line (not the other lines) using a descriptor rather than a global number. We then pass this into the regulator core which has been prepared to hande enable descriptors in a separate patch. Switch over the two boardfiles using this facility and clean up so we only pass descriptors around. Cc: Philipp Zabel <philipp.zabel@gmail.com> # HX4700/Magician maintainer Signed-off-by:Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Mark Brown <broonie@kernel.org>
Showing
- arch/arm/mach-pxa/hx4700.c 11 additions, 1 deletionarch/arm/mach-pxa/hx4700.c
- arch/arm/mach-pxa/magician.c 10 additions, 1 deletionarch/arm/mach-pxa/magician.c
- drivers/regulator/gpio-regulator.c 11 additions, 12 deletionsdrivers/regulator/gpio-regulator.c
- include/linux/regulator/gpio-regulator.h 0 additions, 3 deletionsinclude/linux/regulator/gpio-regulator.h
Loading
Please register or sign in to comment