]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
staging: ks7010: fix line ending with '('
authorKhadija Kamran <kamrankhadijadj@gmail.com>
Wed, 22 Mar 2023 13:36:03 +0000 (18:36 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:47:56 +0000 (09:47 +0100)
Splitting function header to multiple lines because of 80 characters per
line limit, results in ending the function call line with '('.
This leads to CHECK reported by checkpatch.pl

Move the first parameter right after the '(' in the function call line.
Align the rest of the parameters to the opening parenthesis.

Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
Link: https://lore.kernel.org/r/ZBsEQzL3Oidsmg/L@khadija-virtual-machine
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c

index 9429ee155910673c5bcffff6fe25f6c54e1027f5..af3825578d85f88a984236ea9ada84c3548b4488 100644 (file)
@@ -75,9 +75,8 @@ static void ks_wlan_hw_wakeup_task(struct work_struct *work)
 
        if (ps_status == PS_SNOOZE) {
                ks_wlan_hw_wakeup_request(priv);
-               time_left = wait_for_completion_interruptible_timeout(
-                               &priv->psstatus.wakeup_wait,
-                               msecs_to_jiffies(20));
+               time_left = wait_for_completion_interruptible_timeout(&priv->psstatus.wakeup_wait,
+                                                                     msecs_to_jiffies(20));
                if (time_left <= 0) {
                        netdev_dbg(priv->net_dev, "wake up timeout or interrupted !!!\n");
                        schedule_work(&priv->wakeup_work);