Message ID | 20240710032023.2003742-1-nichen@iscas.ac.cn |
---|---|
State | Accepted |
Commit | 50f74b785059453b4f10fe53241c2f612ebf9028 |
Headers | show |
Series | power: supply: cpcap-charger: Convert comma to semicolon | expand |
On Wed, 10 Jul 2024 11:20:23 +0800, Chen Ni wrote: > Replace a comma between expression statements by a semicolon. > > Applied, thanks! [1/1] power: supply: cpcap-charger: Convert comma to semicolon commit: 50f74b785059453b4f10fe53241c2f612ebf9028 Best regards,
diff --git a/drivers/power/supply/cpcap-charger.c b/drivers/power/supply/cpcap-charger.c index cebca34ff872..91e7292d86bb 100644 --- a/drivers/power/supply/cpcap-charger.c +++ b/drivers/power/supply/cpcap-charger.c @@ -904,7 +904,7 @@ static int cpcap_charger_probe(struct platform_device *pdev) psy_cfg.of_node = pdev->dev.of_node; psy_cfg.drv_data = ddata; psy_cfg.supplied_to = cpcap_charger_supplied_to; - psy_cfg.num_supplicants = ARRAY_SIZE(cpcap_charger_supplied_to), + psy_cfg.num_supplicants = ARRAY_SIZE(cpcap_charger_supplied_to); ddata->usb = devm_power_supply_register(ddata->dev, &cpcap_charger_usb_desc,
Replace a comma between expression statements by a semicolon. Signed-off-by: Chen Ni <nichen@iscas.ac.cn> --- drivers/power/supply/cpcap-charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)