Staging: panel: Logical continuations should be on the previous line

This patch fixes the checkpatch issue:

CHECK: Logical continuations should be on the previous line

Signed-off-by: Sirnam Swetha <theonly.ultimate@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sirnam Swetha 2015-10-27 14:56:13 +05:30 committed by Greg Kroah-Hartman
parent ebd43516d3
commit 832bf28ce4
1 changed files with 6 additions and 6 deletions

View File

@ -1122,8 +1122,8 @@ static inline int handle_lcd_special_code(void)
case '*': case '*':
/* flash back light using the keypad timer */ /* flash back light using the keypad timer */
if (scan_timer.function) { if (scan_timer.function) {
if (lcd.light_tempo == 0 if (lcd.light_tempo == 0 &&
&& ((lcd.flags & LCD_FLAG_L) == 0)) ((lcd.flags & LCD_FLAG_L) == 0))
lcd_backlight(1); lcd_backlight(1);
lcd.light_tempo = FLASH_LIGHT_TEMPO; lcd.light_tempo = FLASH_LIGHT_TEMPO;
} }
@ -2011,14 +2011,14 @@ static void panel_scan_timer(void)
if (lcd.enabled && lcd.initialized) { if (lcd.enabled && lcd.initialized) {
if (keypressed) { if (keypressed) {
if (lcd.light_tempo == 0 if (lcd.light_tempo == 0 &&
&& ((lcd.flags & LCD_FLAG_L) == 0)) ((lcd.flags & LCD_FLAG_L) == 0))
lcd_backlight(1); lcd_backlight(1);
lcd.light_tempo = FLASH_LIGHT_TEMPO; lcd.light_tempo = FLASH_LIGHT_TEMPO;
} else if (lcd.light_tempo > 0) { } else if (lcd.light_tempo > 0) {
lcd.light_tempo--; lcd.light_tempo--;
if (lcd.light_tempo == 0 if (lcd.light_tempo == 0 &&
&& ((lcd.flags & LCD_FLAG_L) == 0)) ((lcd.flags & LCD_FLAG_L) == 0))
lcd_backlight(0); lcd_backlight(0);
} }
} }