Searched refs:vref_p (Results 1 – 1 of 1) sorted by relevance
46 struct regulator *vref_p; member243 ret = regulator_get_voltage(adc->vref_p); in adc12138_read_raw()440 adc->vref_p = devm_regulator_get(&spi->dev, "vref-p"); in adc12138_probe()441 if (IS_ERR(adc->vref_p)) in adc12138_probe()442 return PTR_ERR(adc->vref_p); in adc12138_probe()464 ret = regulator_enable(adc->vref_p); in adc12138_probe()496 regulator_disable(adc->vref_p); in adc12138_probe()512 regulator_disable(adc->vref_p); in adc12138_remove()