]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8616108a20b6c162325133db64addc714eb58f15
treeca9c8071f33d880a7023e8f16ad9ad7d15a42226
parent3c434c6a6abd26b16194788b1b7a733f9e574018
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