Skip to content
Commit c3738b37 authored by Luis Gerhorst's avatar Luis Gerhorst Committed by Greg Kroah-Hartman
Browse files

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: default avatarLuis Gerhorst <linux-kernel@luisgerhorst.de>
Acked-by: default avatarJonny Schaefer <schaefer.jonny@gmail.com>
Acked-by: default avatarAlexander Wuerstlein <arw@cs.fau.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 17c9d1ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment