Searched refs:batt_chrg_i (Results 1 – 1 of 1) sorted by relevance
114 struct iio_channel *batt_chrg_i; member359 ret = iio_read_channel_processed_scale(axp20x_batt->batt_chrg_i, in axp20x_battery_get_prop()526 ret = iio_read_channel_processed_scale(axp20x_batt->batt_chrg_i, in axp717_battery_get_prop()916 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp209_bat_cfg_iio_channels()918 if (IS_ERR(axp_batt->batt_chrg_i)) { in axp209_bat_cfg_iio_channels()919 if (PTR_ERR(axp_batt->batt_chrg_i) == -ENODEV) in axp209_bat_cfg_iio_channels()921 return PTR_ERR(axp_batt->batt_chrg_i); in axp209_bat_cfg_iio_channels()945 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp717_bat_cfg_iio_channels()947 if (IS_ERR(axp_batt->batt_chrg_i)) { in axp717_bat_cfg_iio_channels()948 if (PTR_ERR(axp_batt->batt_chrg_i) == -ENODEV) in axp717_bat_cfg_iio_channels()[all …]