Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/power/supply/
Drn5t618_power.c70 struct iio_channel *channel_vadp; member
474 if (!info->channel_vadp) in rn5t618_adp_get_property()
477 ret = iio_read_channel_processed_scale(info->channel_vadp, &val->intval, 1000); in rn5t618_adp_get_property()
745 info->channel_vadp = devm_iio_channel_get(&pdev->dev, "vadp"); in rn5t618_power_probe()
746 if (IS_ERR(info->channel_vadp)) { in rn5t618_power_probe()
747 if (PTR_ERR(info->channel_vadp) == -ENODEV) in rn5t618_power_probe()
749 return PTR_ERR(info->channel_vadp); in rn5t618_power_probe()