Searched refs:vref_p (Results 1 – 1 of 1) sorted by relevance
43 struct regulator *vref_p; member246 ret = regulator_get_voltage(adc->vref_p); in adc12138_read_raw()441 adc->vref_p = devm_regulator_get(&spi->dev, "vref-p"); in adc12138_probe()442 if (IS_ERR(adc->vref_p)) in adc12138_probe()443 return PTR_ERR(adc->vref_p); in adc12138_probe()465 ret = regulator_enable(adc->vref_p); in adc12138_probe()497 regulator_disable(adc->vref_p); in adc12138_probe()513 regulator_disable(adc->vref_p); in adc12138_remove()