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>
This commit is contained in:
Sudip Mukherjee 2018-11-25 19:47:33 +00:00 committed by Greg Kroah-Hartman
parent 69f92163f4
commit 1c3de93621
1 changed files with 6 additions and 3 deletions

View File

@ -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)