Message ID | 20230214092425.265553-1-colin.i.king@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [next] power: supply: fix spelling mistake "charing" -> "charging" | expand |
Hi, On Tue, Feb 14, 2023 at 09:24:25AM +0000, Colin Ian King wrote: > There are spelling mistakes in dev_err_probe messages. Fix them. > > Signed-off-by: Colin Ian King <colin.i.king@gmail.com> > --- Needs to go through the Qualcomm tree: Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> -- Sebastian > 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 >
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,
There are spelling mistakes in dev_err_probe messages. Fix them. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> --- drivers/power/supply/qcom_battmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)