Staging: nvec: Fix ending in '(' error
This patch fixes the checkpatch.pl warning:
CHECK: Lines should not end with a '('
386: FILE: drivers/staging/nvec/nvec.c:386:
+ err = wait_for_completion_interruptible_timeout(
Signed-off-by: Ayan Choudhary <ayanchoudhary1025@gmail.com>
Link: https://lore.kernel.org/r/20220207133921.4287-1-ayanchoudhary1025@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a2882e5ea3
commit
1b9a8d755f
@@ -383,8 +383,8 @@ static void nvec_request_master(struct work_struct *work)
|
|||||||
msg = list_first_entry(&nvec->tx_data, struct nvec_msg, node);
|
msg = list_first_entry(&nvec->tx_data, struct nvec_msg, node);
|
||||||
spin_unlock_irqrestore(&nvec->tx_lock, flags);
|
spin_unlock_irqrestore(&nvec->tx_lock, flags);
|
||||||
nvec_gpio_set_value(nvec, 0);
|
nvec_gpio_set_value(nvec, 0);
|
||||||
err = wait_for_completion_interruptible_timeout(
|
err = wait_for_completion_interruptible_timeout(&nvec->ec_transfer,
|
||||||
&nvec->ec_transfer, msecs_to_jiffies(5000));
|
msecs_to_jiffies(5000));
|
||||||
|
|
||||||
if (err == 0) {
|
if (err == 0) {
|
||||||
dev_warn(nvec->dev, "timeout waiting for ec transfer\n");
|
dev_warn(nvec->dev, "timeout waiting for ec transfer\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user