Home
last modified time | relevance | path

Searched refs:gab_chan_name (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dgeneric-adc-battery.c37 static const char *const gab_chan_name[] = { variable
186 ARRAY_SIZE(gab_chan_name), in gab_probe()
198 for (chan = 0; chan < ARRAY_SIZE(gab_chan_name); chan++) { in gab_probe()
199 adc_bat->channel[chan] = devm_iio_channel_get(&pdev->dev, gab_chan_name[chan]); in gab_probe()
203 return dev_err_probe(&pdev->dev, ret, "Failed to get ADC channel %s\n", gab_chan_name[chan]); in gab_probe()