Searched refs:batt_chrg_i (Results 1 – 1 of 1) sorted by relevance
72 struct iio_channel *batt_chrg_i; member268 ret = iio_read_channel_processed(axp20x_batt->batt_chrg_i, &val->intval); in axp20x_battery_get_prop()582 axp20x_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp20x_power_probe()584 if (IS_ERR(axp20x_batt->batt_chrg_i)) { in axp20x_power_probe()585 if (PTR_ERR(axp20x_batt->batt_chrg_i) == -ENODEV) in axp20x_power_probe()587 return PTR_ERR(axp20x_batt->batt_chrg_i); in axp20x_power_probe()