提交 832bf28c 编写于 作者: S Sirnam Swetha 提交者: Greg Kroah-Hartman

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: NSirnam Swetha <theonly.ultimate@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 ebd43516
......@@ -1122,8 +1122,8 @@ static inline int handle_lcd_special_code(void)
case '*':
/* flash back light using the keypad timer */
if (scan_timer.function) {
if (lcd.light_tempo == 0
&& ((lcd.flags & LCD_FLAG_L) == 0))
if (lcd.light_tempo == 0 &&
((lcd.flags & LCD_FLAG_L) == 0))
lcd_backlight(1);
lcd.light_tempo = FLASH_LIGHT_TEMPO;
}
......@@ -2011,14 +2011,14 @@ static void panel_scan_timer(void)
if (lcd.enabled && lcd.initialized) {
if (keypressed) {
if (lcd.light_tempo == 0
&& ((lcd.flags & LCD_FLAG_L) == 0))
if (lcd.light_tempo == 0 &&
((lcd.flags & LCD_FLAG_L) == 0))
lcd_backlight(1);
lcd.light_tempo = FLASH_LIGHT_TEMPO;
} else if (lcd.light_tempo > 0) {
lcd.light_tempo--;
if (lcd.light_tempo == 0
&& ((lcd.flags & LCD_FLAG_L) == 0))
if (lcd.light_tempo == 0 &&
((lcd.flags & LCD_FLAG_L) == 0))
lcd_backlight(0);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册