Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dda9150-charger.c37 struct iio_channel *vbus_chan; member
58 ret = iio_read_channel_processed(charger->vbus_chan, &v_val); in da9150_charger_vbus_voltage_now()
530 charger->vbus_chan = iio_channel_get(dev, "CHAN_VBUS"); in da9150_charger_probe()
531 if (IS_ERR(charger->vbus_chan)) { in da9150_charger_probe()
532 ret = PTR_ERR(charger->vbus_chan); in da9150_charger_probe()
629 iio_channel_release(charger->vbus_chan); in da9150_charger_probe()
665 iio_channel_release(charger->vbus_chan); in da9150_charger_remove()