Searched refs:vbat_chan (Results 1 – 1 of 1) sorted by relevance
39 struct iio_channel *vbat_chan; member273 ret = iio_read_channel_processed(charger->vbat_chan, &v_val); in da9150_charger_battery_voltage_now()536 charger->vbat_chan = devm_iio_channel_get(dev, "CHAN_VBAT"); in da9150_charger_probe()537 if (IS_ERR(charger->vbat_chan)) in da9150_charger_probe()538 return PTR_ERR(charger->vbat_chan); in da9150_charger_probe()