From: Heiko Stuebner Date: Sun, 14 Sep 2014 19:23:01 +0000 (+0200) Subject: regulator: fan53555: enable vin supply X-Git-Tag: v3.18-rc1~146^2~3^4~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3415d60113f64176114f1bddc09f76c222d85fae;p=karo-tx-linux.git regulator: fan53555: enable vin supply 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 Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index 714fd9a89aa1..c912ba7bed33 100644 --- a/drivers/regulator/fan53555.c +++ b/drivers/regulator/fan53555.c @@ -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;