[PATCH][next] power: supply: fix spelling mistake "charing" -> "charging"
From: Colin Ian King
Date: Tue Feb 14 2023 - 04:24:33 EST
There are spelling mistakes in dev_err_probe messages. Fix them.
Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
---
drivers/power/supply/qcom_battmgr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/supply/qcom_battmgr.c b/drivers/power/supply/qcom_battmgr.c
index ec31f887184f..5c2353241099 100644
--- a/drivers/power/supply/qcom_battmgr.c
+++ b/drivers/power/supply/qcom_battmgr.c
@@ -1367,7 +1367,7 @@ static int qcom_battmgr_probe(struct auxiliary_device *adev,
battmgr->wls_psy = devm_power_supply_register(dev, &sc8280xp_wls_psy_desc, &psy_cfg_supply);
if (IS_ERR(battmgr->wls_psy))
return dev_err_probe(dev, PTR_ERR(battmgr->wls_psy),
- "failed to register wireless charing power supply\n");
+ "failed to register wireless charging power supply\n");
} else {
battmgr->bat_psy = devm_power_supply_register(dev, &sm8350_bat_psy_desc, &psy_cfg);
if (IS_ERR(battmgr->bat_psy))
@@ -1382,7 +1382,7 @@ static int qcom_battmgr_probe(struct auxiliary_device *adev,
battmgr->wls_psy = devm_power_supply_register(dev, &sm8350_wls_psy_desc, &psy_cfg_supply);
if (IS_ERR(battmgr->wls_psy))
return dev_err_probe(dev, PTR_ERR(battmgr->wls_psy),
- "failed to register wireless charing power supply\n");
+ "failed to register wireless charging power supply\n");
}
battmgr->client = devm_pmic_glink_register_client(dev,
--
2.30.2