public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] power: supply: intel_dc_ti_battery: Drop no longer relevant comment
@ 2025-09-10 14:07 Hans de Goede
  2025-09-15 21:17 ` Sebastian Reichel
  0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2025-09-10 14:07 UTC (permalink / raw)
  To: Sebastian Reichel; +Cc: Hans de Goede, linux-pm

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>
---
 drivers/power/supply/intel_dc_ti_battery.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/power/supply/intel_dc_ti_battery.c b/drivers/power/supply/intel_dc_ti_battery.c
index 457d23b689e9..56b0c92e9d28 100644
--- a/drivers/power/supply/intel_dc_ti_battery.c
+++ b/drivers/power/supply/intel_dc_ti_battery.c
@@ -345,11 +345,6 @@ static int dc_ti_battery_probe(struct platform_device *pdev)
 	chip->dev = dev;
 	chip->regmap = pmic->regmap;
 
-	/*
-	 * Note cannot use devm_iio_channel_get because ACPI systems lack
-	 * the device<->channel maps which iio_channel_get will uses when passed
-	 * a non NULL device pointer.
-	 */
 	chip->vbat_channel = devm_iio_channel_get(dev, "VBAT");
 	if (IS_ERR(chip->vbat_channel)) {
 		dev_dbg(dev, "devm_iio_channel_get() ret %ld\n", PTR_ERR(chip->vbat_channel));
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-15 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-10 14:07 [PATCH] power: supply: intel_dc_ti_battery: Drop no longer relevant comment Hans de Goede
2025-09-15 21:17 ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox