Searched refs:batt_dischrg_i (Results 1 – 2 of 2) sorted by relevance
29 10 | batt_dischrg_i37 3 | batt_dischrg_i46 4 | batt_dischrg_i
73 struct iio_channel *batt_dischrg_i; member212 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, in axp20x_battery_get_prop()270 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, &val1); in axp20x_battery_get_prop()590 axp20x_batt->batt_dischrg_i = devm_iio_channel_get(&pdev->dev, in axp20x_power_probe()592 if (IS_ERR(axp20x_batt->batt_dischrg_i)) { in axp20x_power_probe()593 if (PTR_ERR(axp20x_batt->batt_dischrg_i) == -ENODEV) in axp20x_power_probe()595 return PTR_ERR(axp20x_batt->batt_dischrg_i); in axp20x_power_probe()