power: battery: Fix typo for cp_slave channel name

Fix typo for cp_slave channel name "current capability"
--> "current_capability".

Change-Id: I2135e409a80195e8cd4a8353e3ace125bd875e62
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
This commit is contained in:
Ashish Chavan 2020-09-09 18:50:50 +05:30
commit 97be5fdd25

View file

@ -1011,7 +1011,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;
}