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