Home
last modified time | relevance | path

Searched refs:reg_vss (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/dac/
H A Dad5791.c87 struct regulator *reg_vss; member
366 st->reg_vss = devm_regulator_get(&spi->dev, "vss"); in ad5791_probe()
367 if (!IS_ERR(st->reg_vss)) { in ad5791_probe()
368 ret = regulator_enable(st->reg_vss); in ad5791_probe()
372 ret = regulator_get_voltage(st->reg_vss); in ad5791_probe()
382 if (!IS_ERR(st->reg_vss) && !IS_ERR(st->reg_vdd)) { in ad5791_probe()
423 if (!IS_ERR(st->reg_vss)) in ad5791_probe()
424 regulator_disable(st->reg_vss); in ad5791_probe()
440 if (!IS_ERR(st->reg_vss)) in ad5791_remove()
441 regulator_disable(st->reg_vss); in ad5791_remove()