Merge "power: battery: Fix typo for cp_slave channel name"

This commit is contained in:
qctecmdr 2020-09-13 21:34:19 -07:00 • committed by Gerrit - the friendly Code Review server
commit 135494c096

View file

@ -1039,7 +1039,7 @@ static int pl_fcc_vote_callback(struct votable *votable, void *data,
*/
if (!chip->iio_chan_list_cp_slave) {
chip->iio_chan_list_cp_slave = iio_channel_get(chip->dev,
"current capability");
"current_capability");
if (PTR_ERR(chip->iio_chan_list_cp_slave) == -EPROBE_DEFER)
chip->iio_chan_list_cp_slave = NULL;
}