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()442 adc->vref_p = devm_regulator_get(&spi->dev, "vref-p"); in adc12138_probe()443 if (IS_ERR(adc->vref_p)) in adc12138_probe()444 return PTR_ERR(adc->vref_p); in adc12138_probe()466 ret = regulator_enable(adc->vref_p); in adc12138_probe()498 regulator_disable(adc->vref_p); in adc12138_probe()514 regulator_disable(adc->vref_p); in adc12138_remove()