aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-07-17 02:04:06 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-17 06:08:46 -0400
commitd2cfdb055d77f8d0864d75adfc1a3f0e0ec40e69 (patch)
tree0bfa3a3761644d6c08eab0814bd9a1dccc619062 /include/linux/mfd
parent8a165df7a915cb212f41c1dec9abc5ac8f8ee6b6 (diff)
regulator: tps65910: set input_supply on desc unconditionally
Set the supply_name in the regulator descriptor unconditionally and make this parameter as required parameter in the device node for successfully registration of the regulator. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/tps65910.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h
index 1aca1fbbc138..6c4c478e21a4 100644
--- a/include/linux/mfd/tps65910.h
+++ b/include/linux/mfd/tps65910.h
@@ -799,7 +799,6 @@ struct tps65910_sleep_keepon_data {
799/** 799/**
800 * struct tps65910_board 800 * struct tps65910_board
801 * Board platform data may be used to initialize regulators. 801 * Board platform data may be used to initialize regulators.
802 * @input_supply: Name of input supply regulator.
803 */ 802 */
804 803
805struct tps65910_board { 804struct tps65910_board {
@@ -812,7 +811,6 @@ struct tps65910_board {
812 struct tps65910_sleep_keepon_data *slp_keepon; 811 struct tps65910_sleep_keepon_data *slp_keepon;
813 bool en_gpio_sleep[TPS6591X_MAX_NUM_GPIO]; 812 bool en_gpio_sleep[TPS6591X_MAX_NUM_GPIO];
814 unsigned long regulator_ext_sleep_control[TPS65910_NUM_REGS]; 813 unsigned long regulator_ext_sleep_control[TPS65910_NUM_REGS];
815 const char *input_supply[TPS65910_NUM_REGS];
816 struct regulator_init_data *tps65910_pmic_init_data[TPS65910_NUM_REGS]; 814 struct regulator_init_data *tps65910_pmic_init_data[TPS65910_NUM_REGS];
817}; 815};
818 816