Home
last modified time | relevance | path

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

/linux/drivers/iio/dac/
H A Dad5791.c87 struct regulator *reg_vss; member
367 st->reg_vss = devm_regulator_get(&spi->dev, "vss"); in ad5791_probe()
368 if (!IS_ERR(st->reg_vss)) { in ad5791_probe()
369 ret = regulator_enable(st->reg_vss); in ad5791_probe()
373 ret = regulator_get_voltage(st->reg_vss); in ad5791_probe()
389 if (!IS_ERR(st->reg_vss) && !IS_ERR(st->reg_vdd)) { in ad5791_probe()
430 if (!IS_ERR(st->reg_vss)) in ad5791_probe()
431 regulator_disable(st->reg_vss); in ad5791_probe()
447 if (!IS_ERR(st->reg_vss)) in ad5791_remove()
448 regulator_disable(st->reg_vss); in ad5791_remove()