[PATCH] power: supply: bq257xx: Describe the dev field in the driver data structure
From: Alexey Charkov
Date: Thu Oct 15 2026 - 08:55:05 EST
The commit moving the device initialization to the new .init callback
missed the description of the newly introduced dev field in the driver
data structure - add an entry to the kerneldoc.
No code changes.
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202610120726.XkN50Smh-lkp@xxxxxxxxx/
Signed-off-by: Alexey Charkov <alchark@xxxxxxxxxxx>
---
drivers/power/supply/bq257xx_charger.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/power/supply/bq257xx_charger.c b/drivers/power/supply/bq257xx_charger.c
index 2177cee29a4f..569608bc0d6a 100644
--- a/drivers/power/supply/bq257xx_charger.c
+++ b/drivers/power/supply/bq257xx_charger.c
@@ -54,6 +54,7 @@ struct bq257xx_chip_info {
* @chip: hw specific functions
* @bq: parent MFD device
* @charger: power supply device
+ * @dev: charger platform device
* @online: charger input is present
* @charging: charger is actively charging the battery
* @fast_charge: charger is in fast charge mode
---
base-commit: d419d682257d813f6cb7a28e42b35d0edf4ad038
change-id: 20261015-bq257xx-dev-comment-87c52c67346b
Best regards,
--
Alexey Charkov <alchark@xxxxxxxxxxx>