staging: fbtft: ternary statement to if statement.
authorBhagyashri Dighole <digholebhagyashri@gmail.com>
Tue, 19 Mar 2019 11:00:37 +0000 (16:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Mar 2019 13:35:42 +0000 (14:35 +0100)
commite54c2b0aefa6c7c6048667ae2ea729d5df94fb85
treeb3228ba7fd42edbd0d68f7c47a5df300ca51ac9c
parent7945e2782604f330560e38035158e233e2863d71
staging: fbtft: ternary statement to if statement.

Convert a ternary statement into a if statement which is detected while
resolving "WARNING: line over 80 characters". Use BIT() macro instead
manually left shifting.

Signed-off-by: Bhagyashri Dighole <digholebhagyashri@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_ssd1306.c