staging: fbtft: Merged two identical conditionals into one.
authorNarcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Tue, 28 Feb 2017 15:50:06 +0000 (17:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:07 +0000 (09:17 +0100)
commit2fad31423d1db01a341b4a7fac697e1af128c281
treee269e90e0fac7d1a8205c4301365254ad41ac341
parent5963db92cf05cd6381b78692c33cb90d3604c53f
staging: fbtft: Merged two identical conditionals into one.

Merged two if conditionals into a single one, since they had exactly
the same condition.

Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft_device.c