提交 3415d601 编写于 作者: H Heiko Stuebner 提交者: Mark Brown

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: NHeiko Stuebner <heiko@sntech.de>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 7d1311b9
...@@ -207,6 +207,7 @@ static int fan53555_regulator_register(struct fan53555_device_info *di, ...@@ -207,6 +207,7 @@ static int fan53555_regulator_register(struct fan53555_device_info *di,
struct regulator_desc *rdesc = &di->desc; struct regulator_desc *rdesc = &di->desc;
rdesc->name = "fan53555-reg"; rdesc->name = "fan53555-reg";
rdesc->supply_name = "vin";
rdesc->ops = &fan53555_regulator_ops; rdesc->ops = &fan53555_regulator_ops;
rdesc->type = REGULATOR_VOLTAGE; rdesc->type = REGULATOR_VOLTAGE;
rdesc->n_voltages = FAN53555_NVOLTAGES; rdesc->n_voltages = FAN53555_NVOLTAGES;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册