Searched refs:channel_bsi (Results 1 – 1 of 1) sorted by relevance
21 struct iio_channel *channel_bsi; member134 int capacity = rx51_battery_read_adc(di->channel_bsi); in rx51_battery_read_capacity()218 di->channel_bsi = iio_channel_get(di->dev, "bsi"); in rx51_battery_probe()219 if (IS_ERR(di->channel_bsi)) { in rx51_battery_probe()220 ret = PTR_ERR(di->channel_bsi); in rx51_battery_probe()241 iio_channel_release(di->channel_bsi); in rx51_battery_probe()256 iio_channel_release(di->channel_bsi); in rx51_battery_remove()