Skip to content

Commit

Permalink
regulator: fan53555: enable vin supply
Browse files Browse the repository at this point in the history
The regulator can be supplied by a parent regulator through its vin pin,
so add the supply_name for it.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Heiko Stuebner authored and Mark Brown committed Sep 15, 2014
1 parent 7d1311b commit 3415d60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/regulator/fan53555.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ static int fan53555_regulator_register(struct fan53555_device_info *di,
struct regulator_desc *rdesc = &di->desc;

rdesc->name = "fan53555-reg";
rdesc->supply_name = "vin";
rdesc->ops = &fan53555_regulator_ops;
rdesc->type = REGULATOR_VOLTAGE;
rdesc->n_voltages = FAN53555_NVOLTAGES;
Expand Down

0 comments on commit 3415d60

Please sign in to comment.