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>
This commit is contained in:

committed by
Mark Brown

parent
8a165df7a9
commit
d2cfdb055d
@@ -799,7 +799,6 @@ struct tps65910_sleep_keepon_data {
|
||||
/**
|
||||
* struct tps65910_board
|
||||
* Board platform data may be used to initialize regulators.
|
||||
* @input_supply: Name of input supply regulator.
|
||||
*/
|
||||
|
||||
struct tps65910_board {
|
||||
@@ -812,7 +811,6 @@ struct tps65910_board {
|
||||
struct tps65910_sleep_keepon_data *slp_keepon;
|
||||
bool en_gpio_sleep[TPS6591X_MAX_NUM_GPIO];
|
||||
unsigned long regulator_ext_sleep_control[TPS65910_NUM_REGS];
|
||||
const char *input_supply[TPS65910_NUM_REGS];
|
||||
struct regulator_init_data *tps65910_pmic_init_data[TPS65910_NUM_REGS];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user