Searched refs:vrefin_reg (Results 1 – 1 of 1) sorted by relevance
37 struct regulator *vrefin_reg; member89 ret = regulator_get_voltage(state->vrefin_reg); in max5522_read_raw()150 state->vrefin_reg = devm_regulator_get(&spi->dev, "vrefin"); in max5522_spi_probe()151 if (IS_ERR(state->vrefin_reg)) in max5522_spi_probe()152 return dev_err_probe(&spi->dev, PTR_ERR(state->vrefin_reg), in max5522_spi_probe()155 ret = regulator_enable(state->vrefin_reg); in max5522_spi_probe()