Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

power: supply: intel_dc_ti_battery: Drop no longer relevant comment

Drop the comment about not being able to use devm_iio_channel_get().
The code has actually already successfully been switched over to
devm_iio_channel_get(). This is just a no longer applicable left-over
comment, drop it.

Signed-off-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Hans de Goede and committed by
Sebastian Reichel
b8cac8c9 cc2ec444

-5
-5
drivers/power/supply/intel_dc_ti_battery.c
··· 345 345 chip->dev = dev; 346 346 chip->regmap = pmic->regmap; 347 347 348 - /* 349 - * Note cannot use devm_iio_channel_get because ACPI systems lack 350 - * the device<->channel maps which iio_channel_get will uses when passed 351 - * a non NULL device pointer. 352 - */ 353 348 chip->vbat_channel = devm_iio_channel_get(dev, "VBAT"); 354 349 if (IS_ERR(chip->vbat_channel)) { 355 350 dev_dbg(dev, "devm_iio_channel_get() ret %ld\n", PTR_ERR(chip->vbat_channel));