aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-08-07 00:37:56 +0200
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-08-11 18:53:59 +0200
commit0299484e4ddc330f3a64f7310683e673a25e6482 (patch)
tree73f01f2d9457cda876c78cf2b9d1998a2d916497 /drivers/power
parentpower: supply: charger-manager: Fix a NULL pointer dereference in 'charger_manager_probe()' (diff)
downloadlinux-dev-0299484e4ddc330f3a64f7310683e673a25e6482.tar.xz
linux-dev-0299484e4ddc330f3a64f7310683e673a25e6482.zip
power: supply: charger-manager: Fix a comment
Update a comment which is no more up to date since commit 2ed9e9b653095. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/charger-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/supply/charger-manager.c b/drivers/power/supply/charger-manager.c
index 52a49857e20f..83c08c8e2c32 100644
--- a/drivers/power/supply/charger-manager.c
+++ b/drivers/power/supply/charger-manager.c
@@ -1651,8 +1651,8 @@ static int charger_manager_probe(struct platform_device *pdev)
}
/*
- * The following two do not need to be errors.
- * Users may intentionally ignore those two features.
+ * Some of the following do not need to be errors.
+ * Users may intentionally ignore those features.
*/
if (desc->fullbatt_uV == 0) {
dev_info(&pdev->dev, "Ignoring full-battery voltage threshold as it is not supplied\n");