Searched refs:batt_dischrg_i (Results 1 – 1 of 1) sorted by relevance
115 struct iio_channel *batt_dischrg_i; member302 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, in axp20x_battery_get_prop()360 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, &val1); in axp20x_battery_get_prop()923 axp_batt->batt_dischrg_i = devm_iio_channel_get(&pdev->dev, in axp209_bat_cfg_iio_channels()925 if (IS_ERR(axp_batt->batt_dischrg_i)) { in axp209_bat_cfg_iio_channels()926 if (PTR_ERR(axp_batt->batt_dischrg_i) == -ENODEV) in axp209_bat_cfg_iio_channels()928 return PTR_ERR(axp_batt->batt_dischrg_i); in axp209_bat_cfg_iio_channels()