diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2018-11-25 20:47:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-27 08:30:55 +0100 |
commit | 1c3de93621b310276ae4d966a14ed01b711312c2 (patch) | |
tree | ffc8da8254fd4d210b47a2f33c874f15efc24d32 /drivers/char/lp.c | |
parent | char: lp: remove trailing whitespace (diff) | |
download | linux-1c3de93621b310276ae4d966a14ed01b711312c2.tar.xz linux-1c3de93621b310276ae4d966a14ed01b711312c2.zip |
char: lp: move trailing statement to next line
Fix checkpatch errors for trailing if else statements.
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/lp.c')
-rw-r--r-- | drivers/char/lp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/char/lp.c b/drivers/char/lp.c index 7b15272c0510..65bf32244f48 100644 --- a/drivers/char/lp.c +++ b/drivers/char/lp.c @@ -223,12 +223,15 @@ static void lp_error (int minor) return; polling = lp_table[minor].dev->port->irq == PARPORT_IRQ_NONE; - if (polling) lp_release_parport (&lp_table[minor]); + if (polling) + lp_release_parport (&lp_table[minor]); prepare_to_wait(&lp_table[minor].waitq, &wait, TASK_INTERRUPTIBLE); schedule_timeout(LP_TIMEOUT_POLLED); finish_wait(&lp_table[minor].waitq, &wait); - if (polling) lp_claim_parport_or_block (&lp_table[minor]); - else parport_yield_blocking (lp_table[minor].dev); + if (polling) + lp_claim_parport_or_block (&lp_table[minor]); + else + parport_yield_blocking (lp_table[minor].dev); } static int lp_check_status(int minor) |