* [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
* Re: [PATCH] power: supply: intel_dc_ti_battery: Drop no longer relevant comment
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
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2025-09-15 21:17 UTC (permalink / raw)
To: Sebastian Reichel, Hans de Goede; +Cc: linux-pm
On Wed, 10 Sep 2025 16:07:54 +0200, Hans de Goede wrote:
> 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.
>
>
Applied, thanks!
[1/1] power: supply: intel_dc_ti_battery: Drop no longer relevant comment
commit: b8cac8c98e85e977369a4c07b5eccd73fbc30cb9
Best regards,
--
Sebastian Reichel <sebastian.reichel@collabora.com>
^ permalink raw reply [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