]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
power: supply: cw2015: Fix a alignment coding style issue
authorAndy Yan <andyshrk@163.com>
Mon, 18 Aug 2025 12:32:59 +0000 (20:32 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Oct 2025 09:56:27 +0000 (11:56 +0200)
[ Upstream commit def5612170a8c6c4c6a3ea5bd6c3cfc8de6ba4b1 ]

Fix the checkpatch warning:
CHECK: Alignment should match open parenthesis

Fixes: 0cb172a4918e ("power: supply: cw2015: Use device managed API to simplify the code")
Signed-off-by: Andy Yan <andyshrk@163.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/power/supply/cw2015_battery.c

index 9d957cf8edf07d13e096b7c9fd3f9a7629dbaf3e..ae6f46b452101cf684ea74029f5e340a4875772f 100644 (file)
@@ -702,8 +702,7 @@ static int cw_bat_probe(struct i2c_client *client)
        if (!cw_bat->battery_workqueue)
                return -ENOMEM;
 
-       devm_delayed_work_autocancel(&client->dev,
-                                                         &cw_bat->battery_delay_work, cw_bat_work);
+       devm_delayed_work_autocancel(&client->dev, &cw_bat->battery_delay_work, cw_bat_work);
        queue_delayed_work(cw_bat->battery_workqueue,
                           &cw_bat->battery_delay_work, msecs_to_jiffies(10));
        return 0;