Searched refs:bus_regulator (Results 1 – 2 of 2) sorted by relevance
1409 i2c->adap.bus_regulator = devm_regulator_get_optional(&pdev->dev, "vbus"); in mtk_i2c_probe()1410 if (IS_ERR(i2c->adap.bus_regulator)) { in mtk_i2c_probe()1411 if (PTR_ERR(i2c->adap.bus_regulator) == -ENODEV) in mtk_i2c_probe()1412 i2c->adap.bus_regulator = NULL; in mtk_i2c_probe()1414 return PTR_ERR(i2c->adap.bus_regulator); in mtk_i2c_probe()
769 struct regulator *bus_regulator; member