Searched refs:bus_regulator (Results 1 – 2 of 2) sorted by relevance
1387 i2c->adap.bus_regulator = devm_regulator_get_optional(&pdev->dev, "vbus"); in mtk_i2c_probe()1388 if (IS_ERR(i2c->adap.bus_regulator)) { in mtk_i2c_probe()1389 if (PTR_ERR(i2c->adap.bus_regulator) == -ENODEV) in mtk_i2c_probe()1390 i2c->adap.bus_regulator = NULL; in mtk_i2c_probe()1392 return PTR_ERR(i2c->adap.bus_regulator); in mtk_i2c_probe()
750 struct regulator *bus_regulator; member