* [PATCH] power: supply: wm831x_power: fix spelling mistake on function name
@ 2021-10-01 12:04 Colin King
2021-10-01 13:25 ` Charles Keepax
0 siblings, 1 reply; 3+ messages in thread
From: Colin King @ 2021-10-01 12:04 UTC (permalink / raw)
To: Sebastian Reichel, patches, linux-pm; +Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There is a spelling mistake in the name wm831x_battey_apply_config,
fix it.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/power/supply/wm831x_power.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/power/supply/wm831x_power.c b/drivers/power/supply/wm831x_power.c
index 4cd2dd870039..82e31066c746 100644
--- a/drivers/power/supply/wm831x_power.c
+++ b/drivers/power/supply/wm831x_power.c
@@ -234,7 +234,7 @@ static struct chg_map chg_times[] = {
{ 510, 15 << WM831X_CHG_TIME_SHIFT },
};
-static void wm831x_battey_apply_config(struct wm831x *wm831x,
+static void wm831x_battery_apply_config(struct wm831x *wm831x,
struct chg_map *map, int count, int val,
int *reg, const char *name,
const char *units)
@@ -281,24 +281,24 @@ static void wm831x_config_battery(struct wm831x *wm831x)
if (pdata->fast_enable)
reg1 |= WM831X_CHG_FAST;
- wm831x_battey_apply_config(wm831x, trickle_ilims,
+ wm831x_battery_apply_config(wm831x, trickle_ilims,
ARRAY_SIZE(trickle_ilims),
pdata->trickle_ilim, ®2,
"trickle charge current limit", "mA");
- wm831x_battey_apply_config(wm831x, vsels, ARRAY_SIZE(vsels),
+ wm831x_battery_apply_config(wm831x, vsels, ARRAY_SIZE(vsels),
pdata->vsel, ®2,
"target voltage", "mV");
- wm831x_battey_apply_config(wm831x, fast_ilims, ARRAY_SIZE(fast_ilims),
+ wm831x_battery_apply_config(wm831x, fast_ilims, ARRAY_SIZE(fast_ilims),
pdata->fast_ilim, ®2,
"fast charge current limit", "mA");
- wm831x_battey_apply_config(wm831x, eoc_iterms, ARRAY_SIZE(eoc_iterms),
+ wm831x_battery_apply_config(wm831x, eoc_iterms, ARRAY_SIZE(eoc_iterms),
pdata->eoc_iterm, ®1,
"end of charge current threshold", "mA");
- wm831x_battey_apply_config(wm831x, chg_times, ARRAY_SIZE(chg_times),
+ wm831x_battery_apply_config(wm831x, chg_times, ARRAY_SIZE(chg_times),
pdata->timeout, ®2,
"charger timeout", "min");
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] power: supply: wm831x_power: fix spelling mistake on function name
2021-10-01 12:04 [PATCH] power: supply: wm831x_power: fix spelling mistake on function name Colin King
@ 2021-10-01 13:25 ` Charles Keepax
2021-10-02 15:35 ` Sebastian Reichel
0 siblings, 1 reply; 3+ messages in thread
From: Charles Keepax @ 2021-10-01 13:25 UTC (permalink / raw)
To: Colin King
Cc: Sebastian Reichel, patches, linux-pm, kernel-janitors, linux-kernel
On Fri, Oct 01, 2021 at 01:04:49PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There is a spelling mistake in the name wm831x_battey_apply_config,
> fix it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks,
Charles
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] power: supply: wm831x_power: fix spelling mistake on function name
2021-10-01 13:25 ` Charles Keepax
@ 2021-10-02 15:35 ` Sebastian Reichel
0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Reichel @ 2021-10-02 15:35 UTC (permalink / raw)
To: Charles Keepax
Cc: Colin King, patches, linux-pm, kernel-janitors, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]
Hi,
On Fri, Oct 01, 2021 at 01:25:34PM +0000, Charles Keepax wrote:
> On Fri, Oct 01, 2021 at 01:04:49PM +0100, Colin King wrote:
> > From: Colin Ian King <colin.king@canonical.com>
> >
> > There is a spelling mistake in the name wm831x_battey_apply_config,
> > fix it.
> >
> > Signed-off-by: Colin Ian King <colin.king@canonical.com>
> > ---
>
> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks, queued.
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-02 15:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 12:04 [PATCH] power: supply: wm831x_power: fix spelling mistake on function name Colin King
2021-10-01 13:25 ` Charles Keepax
2021-10-02 15:35 ` Sebastian Reichel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).