diff mbox series

[-next] power/supply/bq24190_charger: convert comma to semicolon

Message ID 20201214134054.4296-1-zhengyongjun3@huawei.com (mailing list archive)
State Not Applicable, archived
Headers show
Series [-next] power/supply/bq24190_charger: convert comma to semicolon | expand

Commit Message

Zheng Yongjun Dec. 14, 2020, 1:40 p.m. UTC
Replace a comma between expression statements by a semicolon.

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

Comments

Sebastian Reichel Jan. 16, 2021, 11:43 a.m. UTC | #1
Hi,

On Mon, Dec 14, 2020 at 09:40:54PM +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/bq24190_charger.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/power/supply/bq24190_charger.c b/drivers/power/supply/bq24190_charger.c
> index d14186525e1e..00c4f335481f 100644
> --- a/drivers/power/supply/bq24190_charger.c
> +++ b/drivers/power/supply/bq24190_charger.c
> @@ -1757,7 +1757,7 @@ static int bq24190_probe(struct i2c_client *client,
>  	charger_cfg.drv_data = bdi;
>  	charger_cfg.of_node = dev->of_node;
>  	charger_cfg.supplied_to = bq24190_charger_supplied_to;
> -	charger_cfg.num_supplicants = ARRAY_SIZE(bq24190_charger_supplied_to),
> +	charger_cfg.num_supplicants = ARRAY_SIZE(bq24190_charger_supplied_to);
>  	bdi->charger = power_supply_register(dev, &bq24190_charger_desc,
>  						&charger_cfg);
>  	if (IS_ERR(bdi->charger)) {
> -- 
> 2.22.0
>
diff mbox series

Patch

diff --git a/drivers/power/supply/bq24190_charger.c b/drivers/power/supply/bq24190_charger.c
index d14186525e1e..00c4f335481f 100644
--- a/drivers/power/supply/bq24190_charger.c
+++ b/drivers/power/supply/bq24190_charger.c
@@ -1757,7 +1757,7 @@  static int bq24190_probe(struct i2c_client *client,
 	charger_cfg.drv_data = bdi;
 	charger_cfg.of_node = dev->of_node;
 	charger_cfg.supplied_to = bq24190_charger_supplied_to;
-	charger_cfg.num_supplicants = ARRAY_SIZE(bq24190_charger_supplied_to),
+	charger_cfg.num_supplicants = ARRAY_SIZE(bq24190_charger_supplied_to);
 	bdi->charger = power_supply_register(dev, &bq24190_charger_desc,
 						&charger_cfg);
 	if (IS_ERR(bdi->charger)) {