]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7a8a2babba282a7e62bfce1077b21316ff66ed6
treeb3228ba7fd42edbd0d68f7c47a5df300ca51ac9c
parent6c3f0095c6610754428985e5614b80f3d7c668b0
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