Searched refs:batt_chrg_i (Results 1 – 1 of 1) sorted by relevance
116 struct iio_channel *batt_chrg_i; member362 ret = iio_read_channel_processed_scale(axp20x_batt->batt_chrg_i, in axp20x_battery_get_prop()528 ret = iio_read_channel_processed_scale(axp20x_batt->batt_chrg_i, in axp717_battery_get_prop()918 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp209_bat_cfg_iio_channels()920 if (IS_ERR(axp_batt->batt_chrg_i)) { in axp209_bat_cfg_iio_channels()921 if (PTR_ERR(axp_batt->batt_chrg_i) == -ENODEV) in axp209_bat_cfg_iio_channels()923 return PTR_ERR(axp_batt->batt_chrg_i); in axp209_bat_cfg_iio_channels()947 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp717_bat_cfg_iio_channels()949 if (IS_ERR(axp_batt->batt_chrg_i)) { in axp717_bat_cfg_iio_channels()950 if (PTR_ERR(axp_batt->batt_chrg_i) == -ENODEV) in axp717_bat_cfg_iio_channels()[all …]