2020-09-02 10:21:49

by Colin King

[permalink] [raw]
Subject: [PATCH][next] power: supply: fix spelling mistake "unprecise" -> "imprecise"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a dev_info message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/power/supply/rn5t618_power.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/supply/rn5t618_power.c b/drivers/power/supply/rn5t618_power.c
index 424d2817bee5..dee520f0fdf5 100644
--- a/drivers/power/supply/rn5t618_power.c
+++ b/drivers/power/supply/rn5t618_power.c
@@ -487,7 +487,7 @@ static int rn5t618_power_probe(struct platform_device *pdev)
* gauge will get decalibrated.
*/
dev_info(&pdev->dev, "Fuel gauge not enabled, enabling now\n");
- dev_info(&pdev->dev, "Expect unprecise results\n");
+ dev_info(&pdev->dev, "Expect imprecise results\n");
regmap_update_bits(info->rn5t618->regmap, RN5T618_CONTROL,
FG_ENABLE, FG_ENABLE);
}
--
2.27.0


2020-10-03 21:54:51

by Sebastian Reichel

[permalink] [raw]
Subject: Re: [PATCH][next] power: supply: fix spelling mistake "unprecise" -> "imprecise"

Hi,

On Wed, Sep 02, 2020 at 11:16:56AM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a dev_info message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---

Thanks, queued.

-- Sebastian

> drivers/power/supply/rn5t618_power.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/power/supply/rn5t618_power.c b/drivers/power/supply/rn5t618_power.c
> index 424d2817bee5..dee520f0fdf5 100644
> --- a/drivers/power/supply/rn5t618_power.c
> +++ b/drivers/power/supply/rn5t618_power.c
> @@ -487,7 +487,7 @@ static int rn5t618_power_probe(struct platform_device *pdev)
> * gauge will get decalibrated.
> */
> dev_info(&pdev->dev, "Fuel gauge not enabled, enabling now\n");
> - dev_info(&pdev->dev, "Expect unprecise results\n");
> + dev_info(&pdev->dev, "Expect imprecise results\n");
> regmap_update_bits(info->rn5t618->regmap, RN5T618_CONTROL,
> FG_ENABLE, FG_ENABLE);
> }
> --
> 2.27.0
>


Attachments:
(No filename) (1.04 kB)
signature.asc (849.00 B)
Download all attachments

2020-10-03 22:18:11

by Joe Perches

[permalink] [raw]
Subject: Re: [PATCH][next] power: supply: fix spelling mistake "unprecise" -> "imprecise"

On Sat, 2020-10-03 at 23:51 +0200, Sebastian Reichel wrote:
> On Wed, Sep 02, 2020 at 11:16:56AM +0100, Colin King wrote:
> > From: Colin Ian King <[email protected]>
> > There is a spelling mistake in a dev_info message. Fix it.
> >
> > Signed-off-by: Colin Ian King <[email protected]>
> > ---
>
> Thanks, queued.
[]
> > diff --git a/drivers/power/supply/rn5t618_power.c b/drivers/power/supply/rn5t618_power.c
[]
> > @@ -487,7 +487,7 @@ static int rn5t618_power_probe(struct platform_device *pdev)
> > * gauge will get decalibrated.
> > */
> > dev_info(&pdev->dev, "Fuel gauge not enabled, enabling now\n");
> > - dev_info(&pdev->dev, "Expect unprecise results\n");
> > + dev_info(&pdev->dev, "Expect imprecise results\n");

Might as well be a single line too

dev_info(&pdev->dev, "Fuel gauge not enabled, enabling now - expect imprecise results\n");