Searched refs:vref_p (Results 1 – 1 of 1) sorted by relevance
44 struct regulator *vref_p; member248 ret = regulator_get_voltage(adc->vref_p); in adc12138_read_raw()443 adc->vref_p = devm_regulator_get(&spi->dev, "vref-p"); in adc12138_probe()444 if (IS_ERR(adc->vref_p)) in adc12138_probe()445 return PTR_ERR(adc->vref_p); in adc12138_probe()467 ret = regulator_enable(adc->vref_p); in adc12138_probe()499 regulator_disable(adc->vref_p); in adc12138_probe()515 regulator_disable(adc->vref_p); in adc12138_remove()