drivers/fbtft: Remove unnecessary braces from if/else
authorLuis Gerhorst <[email protected]>
Mon, 8 Jan 2018 10:06:37 +0000 (11:06 +0100)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Acked-by: Jonny Schaefer <[email protected]>
Acked-by: Alexander Wuerstlein <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/fbtft/fbtft-core.c