OSDN Git Service

regulator: pfuze100: Delete reference to ena_gpio
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 14 May 2018 08:06:30 +0000 (10:06 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 24 May 2018 15:50:39 +0000 (16:50 +0100)
commit5389ac0ac7d95cf23a5f4e27430ceb2ed815cd5d
tree8d30cdc69588cad3c115414132fc3eb8f649f355
parentd7a261c2d1f233260c48651b4e68987ce1206139
regulator: pfuze100: Delete reference to ena_gpio

We now pass a GPIO descriptor to the core instead of a global
GPIO number, if this descriptor is NULL the GPIO line is not
used. Just delete the assignment of an invalid GPIO line.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pfuze100-regulator.c