Searched refs:vdd_io (Results 1 – 2 of 2) sorted by relevance
249 pdata->vdd_io = devm_regulator_get(indio_dev->dev.parent, "vddio"); in st_sensors_power_enable()250 if (IS_ERR(pdata->vdd_io)) { in st_sensors_power_enable()252 err = PTR_ERR(pdata->vdd_io); in st_sensors_power_enable()255 err = regulator_enable(pdata->vdd_io); in st_sensors_power_enable()275 regulator_disable(pdata->vdd_io); in st_sensors_power_disable()
140 struct regulator *vdd_io; member1444 ks->vdd_io = devm_regulator_get(&spi->dev, "vdd-io"); in ks8851_probe()1445 if (IS_ERR(ks->vdd_io)) { in ks8851_probe()1446 ret = PTR_ERR(ks->vdd_io); in ks8851_probe()1450 ret = regulator_enable(ks->vdd_io); in ks8851_probe()1575 regulator_disable(ks->vdd_io); in ks8851_probe()1594 regulator_disable(priv->vdd_io); in ks8851_remove()