Searched refs:vrefl_reg (Results 1 – 1 of 1) sorted by relevance
27 struct regulator *vrefl_reg; member146 state->vrefl_reg = devm_regulator_get(&spi->dev, "vrefl"); in ad8801_probe()147 if (IS_ERR(state->vrefl_reg)) { in ad8801_probe()148 ret = dev_err_probe(&spi->dev, PTR_ERR(state->vrefl_reg), in ad8801_probe()153 ret = regulator_enable(state->vrefl_reg); in ad8801_probe()160 ret = regulator_get_voltage(state->vrefl_reg); in ad8801_probe()169 state->vrefl_reg = NULL; in ad8801_probe()189 if (state->vrefl_reg) in ad8801_probe()190 regulator_disable(state->vrefl_reg); in ad8801_probe()202 if (state->vrefl_reg) in ad8801_remove()[all …]