Staging: sm750fb: Fix else statement position
Subsystems (2)
PATCH 3/4 Staging: sm750fb: Fix else statement position
Fixed position of else statement after brace '}' by placing it in the same line. Problem found using checkpatch.pl
ERROR: else should follow close brace '}'
Signed-off-by Amitoj Kaur Chawla <[email protected]>
--- drivers/staging/sm750fb/ddk750_chip.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +2 -4
@@ -22,15 +22,13 @@ logical_chip_type_t getChipType(void)if (physicalID ==0x718 ) { chip =SM718 ; - } -else if (physicalID ==0x750 ) { + }else if (physicalID ==0x750 ) { chip =SM750 ;/* SM750 and SM750LE are different in their revision ID only. */ if (physicalRev ==SM750LE_REVISION_ID ){ chip =SM750LE ; } - } -else { + }else { chip =SM_UNKNOWN ; }
Signature · 1 line
1.9.1