OSDN Git Service

regulator: core: Only support passing enable GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 29 Jan 2019 10:31:56 +0000 (11:31 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 6 Feb 2019 16:01:31 +0000 (16:01 +0000)
commit541d052d721506549774ab780a2709e4ff8ca79b
treeca9c8071f33d880a7023e8f16ad9ad7d15a42226
parentd162d041033830b736921b5d3deffcde860cfc26
regulator: core: Only support passing enable GPIO descriptors

Now that we changed all providers to pass descriptors into the core
for enable GPIOs instead of a global GPIO number, delete the support
for passing GPIO numbers in, and we get a cleanup and size reduction
in the core, and from a GPIO point of view we use the modern, cleaner
interface.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
include/linux/regulator/driver.h