]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: gpio: Revert
authorMark Brown <broonie@kernel.org>
Thu, 7 Jun 2018 13:10:56 +0000 (14:10 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 7 Jun 2018 13:23:08 +0000 (14:23 +0100)
commit0c3a1d9bc453a49908005288fe08c7ef5ba30d01
tree09eb6373a71e194036e2b773b3ece710bda24864
parent08346549955280fe70bfec9d2e2069a8fe0f6614
regulator: gpio: Revert

regulator: fixed/gpio: Revert GPIO descriptor changes due to platform breakage

Commit 9758c16a313 "regulator: fixed: Convert to use GPIO descriptor
only" broke at least the ams-delta platform since the lookup tables
added to the board files use the function name "enable" while the driver
uses NULL causing the regulator to not acquire and control the enable
GPIOs.  Revert that and a couple of other commits that are caught up
with it to fix the issue:

08346549955280fe "ARM: pxa, regulator: fix building ezx e680"
9758c16a31341c94 "regulator: fixed: Convert to use GPIO descriptor only"
e9b45a16a33d73fa "regulator: gpio: Get enable GPIO using GPIO descriptor"

Reported-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
24 files changed:
arch/arm/mach-imx/mach-mx21ads.c
arch/arm/mach-imx/mach-mx27ads.c
arch/arm/mach-mmp/brownstone.c
arch/arm/mach-omap1/board-ams-delta.c
arch/arm/mach-omap2/pdata-quirks.c
arch/arm/mach-pxa/em-x270.c
arch/arm/mach-pxa/ezx.c
arch/arm/mach-pxa/hx4700.c
arch/arm/mach-pxa/magician.c
arch/arm/mach-pxa/raumfeld.c
arch/arm/mach-pxa/zeus.c
arch/arm/mach-s3c64xx/mach-crag6410.c
arch/arm/mach-s3c64xx/mach-smdk6410.c
arch/arm/mach-sa1100/assabet.c
arch/arm/mach-sa1100/generic.c
arch/arm/mach-sa1100/generic.h
arch/arm/mach-sa1100/shannon.c
arch/sh/boards/mach-ecovec24/setup.c
arch/x86/platform/intel-mid/device_libs/platform_bcm43xx.c
drivers/regulator/fixed-helper.c
drivers/regulator/fixed.c
drivers/regulator/gpio-regulator.c
include/linux/regulator/fixed.h
include/linux/regulator/gpio-regulator.h