linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] power: supply: ab8500_fg: convert comma to semicolon
@ 2020-12-14 13:40 Zheng Yongjun
  2021-01-16 11:43 ` Sebastian Reichel
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Yongjun @ 2020-12-14 13:40 UTC (permalink / raw)
  To: sre, linux-pm, linux-kernel; +Cc: Zheng Yongjun

Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 drivers/power/supply/ab8500_fg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/supply/ab8500_fg.c b/drivers/power/supply/ab8500_fg.c
index 592a73d4dde6..6594f09c993c 100644
--- a/drivers/power/supply/ab8500_fg.c
+++ b/drivers/power/supply/ab8500_fg.c
@@ -857,7 +857,7 @@ static int ab8500_fg_volt_to_capacity(struct ab8500_fg *di, int voltage)
 	const struct abx500_v_to_cap *tbl;
 	int cap = 0;
 
-	tbl = di->bm->bat_type[di->bm->batt_id].v_to_cap_tbl,
+	tbl = di->bm->bat_type[di->bm->batt_id].v_to_cap_tbl;
 	tbl_size = di->bm->bat_type[di->bm->batt_id].n_v_cap_tbl_elements;
 
 	for (i = 0; i < tbl_size; ++i) {
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] power: supply: ab8500_fg: convert comma to semicolon
  2020-12-14 13:40 [PATCH -next] power: supply: ab8500_fg: convert comma to semicolon Zheng Yongjun
@ 2021-01-16 11:43 ` Sebastian Reichel
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2021-01-16 11:43 UTC (permalink / raw)
  To: Zheng Yongjun; +Cc: linux-pm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 965 bytes --]

Hi,

On Mon, Dec 14, 2020 at 09:40:00PM +0800, Zheng Yongjun wrote:
> Replace a comma between expression statements by a semicolon.
> 
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/supply/ab8500_fg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/power/supply/ab8500_fg.c b/drivers/power/supply/ab8500_fg.c
> index 592a73d4dde6..6594f09c993c 100644
> --- a/drivers/power/supply/ab8500_fg.c
> +++ b/drivers/power/supply/ab8500_fg.c
> @@ -857,7 +857,7 @@ static int ab8500_fg_volt_to_capacity(struct ab8500_fg *di, int voltage)
>  	const struct abx500_v_to_cap *tbl;
>  	int cap = 0;
>  
> -	tbl = di->bm->bat_type[di->bm->batt_id].v_to_cap_tbl,
> +	tbl = di->bm->bat_type[di->bm->batt_id].v_to_cap_tbl;
>  	tbl_size = di->bm->bat_type[di->bm->batt_id].n_v_cap_tbl_elements;
>  
>  	for (i = 0; i < tbl_size; ++i) {
> -- 
> 2.22.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-16 11:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 13:40 [PATCH -next] power: supply: ab8500_fg: convert comma to semicolon Zheng Yongjun
2021-01-16 11:43 ` 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).