Searched refs:reg_vdd (Results 1 – 2 of 2) sorted by relevance
85 struct regulator *reg_vdd; member356 st->reg_vdd = devm_regulator_get(&spi->dev, "vdd"); in ad5791_probe()357 if (!IS_ERR(st->reg_vdd)) { in ad5791_probe()358 ret = regulator_enable(st->reg_vdd); in ad5791_probe()362 ret = regulator_get_voltage(st->reg_vdd); in ad5791_probe()385 if (!IS_ERR(st->reg_vss) && !IS_ERR(st->reg_vdd)) { in ad5791_probe()430 if (!IS_ERR(st->reg_vdd)) in ad5791_probe()431 regulator_disable(st->reg_vdd); in ad5791_probe()441 if (!IS_ERR(st->reg_vdd)) in ad5791_remove()442 regulator_disable(st->reg_vdd); in ad5791_remove()
41 static const char reg_vdd[] = "Vdd"; variable154 lis3_dev.regulators[0].supply = reg_vdd; in lis3lv02d_i2c_probe()