Searched refs:supply_areg (Results 1 – 1 of 1) sorted by relevance
27 struct regulator *supply_areg; member996 if (adcx140->supply_areg == NULL) in adcx140_codec_probe()1143 regulator_disable(adcx140->supply_areg); in adcx140_disable_regulator()1163 adcx140->supply_areg = devm_regulator_get_optional(adcx140->dev, in adcx140_i2c_probe()1165 if (IS_ERR(adcx140->supply_areg)) { in adcx140_i2c_probe()1166 if (PTR_ERR(adcx140->supply_areg) == -EPROBE_DEFER) in adcx140_i2c_probe()1169 adcx140->supply_areg = NULL; in adcx140_i2c_probe()1171 ret = regulator_enable(adcx140->supply_areg); in adcx140_i2c_probe()