summaryrefslogtreecommitdiffstats
path: root/drivers/staging/panel/panel.c
diff options
context:
space:
mode:
authorSirnam Swetha2015-10-27 10:26:13 +0100
committerGreg Kroah-Hartman2015-10-28 23:55:17 +0100
commit832bf28ce436c97c224ad88e304d76f1f96b7a99 (patch)
treeb2f2e0dbf80c0039f9bde2e8b22d5e1b15bf6e3b /drivers/staging/panel/panel.c
parentStaging: panel: usleep_range is preferred over udelay (diff)
downloadkernel-qcow2-linux-832bf28ce436c97c224ad88e304d76f1f96b7a99.tar.gz
kernel-qcow2-linux-832bf28ce436c97c224ad88e304d76f1f96b7a99.tar.xz
kernel-qcow2-linux-832bf28ce436c97c224ad88e304d76f1f96b7a99.zip
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>
Diffstat (limited to 'drivers/staging/panel/panel.c')
-rw-r--r--drivers/staging/panel/panel.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
index 775ad0e40d75..79ac19246548 100644
--- a/drivers/staging/panel/panel.c
+++ b/drivers/staging/panel/panel.c
@@ -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);
}
}