diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2024-07-10 11:20:23 +0800 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-08-27 19:29:30 +0200 |
commit | 50f74b785059453b4f10fe53241c2f612ebf9028 (patch) | |
tree | a4a57c1b95cf482c28b5871b517fc4da858928b7 /drivers/power | |
parent | ba7e053ec89f61be9d27bfb244de52849b5138aa (diff) | |
download | lwn-50f74b785059453b4f10fe53241c2f612ebf9028.tar.gz lwn-50f74b785059453b4f10fe53241c2f612ebf9028.zip |
power: supply: cpcap-charger: Convert comma to semicolon
Replace a comma between expression statements by a semicolon.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20240710032023.2003742-1-nichen@iscas.ac.cn
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/cpcap-charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |