drivers/fbtft: Remove unnecessary braces from if/else
authorLuis Gerhorst <linux-kernel@luisgerhorst.de>
Mon, 8 Jan 2018 10:06:37 +0000 (11:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:03:45 +0000 (16:03 +0100)
commitc3738b37d899e32592b08e92edbb4842e2697c9d
treeed8e1ca4c8c66b5ae46233281de9f211b02c0a7f
parent17c9d1ba9a21786095abb6af5a05e206cedb280f
drivers/fbtft: Remove unnecessary braces from if/else

The Linux kernel coding style states that braces should only be used
when necessary.

This fixes the checkpatch warning

WARNING: line over 80 characters
+ } else if (display->regwidth == 8 && display->buswidth == 9 && par->spi) {

introduced by patch #1.

Signed-off-by: Luis Gerhorst <linux-kernel@luisgerhorst.de>
Acked-by: Jonny Schaefer <schaefer.jonny@gmail.com>
Acked-by: Alexander Wuerstlein <arw@cs.fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c