regulator: Set ena_gpio_initialized in regulator drivers
authorMarkus Pargmann <mpa@pengutronix.de>
Mon, 3 Nov 2014 18:12:04 +0000 (19:12 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 7 Nov 2014 11:30:25 +0000 (11:30 +0000)
commit1de3821ace8200432993821bfda043827029de2a
tree0cbde00f92a160441e1d9928cbbc26e856d0b371
parent76f439df50aba1838e06dd01e5f20dada7473f57
regulator: Set ena_gpio_initialized in regulator drivers

This patch sets ena_gpio_initialized for all drivers which set a
ena_gpio from parsed DT properties. Drivers using pdata may get zero
initialized pdata and therefore copy a 0 into the regulator_config
ena_gpio field.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/arizona-ldo1.c
drivers/regulator/fixed.c
drivers/regulator/gpio-regulator.c
drivers/regulator/max8952.c
drivers/regulator/s2mps11.c
drivers/regulator/s5m8767.c
drivers/regulator/tps65090-regulator.c
drivers/regulator/wm8994-regulator.c