regulator: fan53555: enable vin supply

A patch from »regulator: add support for syr82x to fan53555« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Sun, 14 Sep 2014 14:02:39 +0200

Commit-Message

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@...>

Patch-Comment

drivers/regulator/fan53555.c | 1 + 1 file changed, 1 insertion(+)

Statistics

  • 1 lines added
  • 0 lines removed

Changes

------------------------- drivers/regulator/fan53555.c -------------------------
index 714fd9a..c912ba7 100644
@@ -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;
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...