Home
last modified time | relevance | path

Searched refs:bus_regulator (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-mt65xx.c1409 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()
/openbmc/linux/include/linux/
H A Di2c.h769 struct regulator *bus_regulator; member