Searched refs:vref_p (Results 1 – 1 of 1) sorted by relevance
43 struct regulator *vref_p; member240 ret = regulator_get_voltage(adc->vref_p); in adc12138_read_raw()437 adc->vref_p = devm_regulator_get(&spi->dev, "vref-p"); in adc12138_probe()438 if (IS_ERR(adc->vref_p)) in adc12138_probe()439 return PTR_ERR(adc->vref_p); in adc12138_probe()461 ret = regulator_enable(adc->vref_p); in adc12138_probe()493 regulator_disable(adc->vref_p); in adc12138_probe()509 regulator_disable(adc->vref_p); in adc12138_remove()