From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753242AbcD2G0q (ORCPT ); Fri, 29 Apr 2016 02:26:46 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:34580 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752668AbcD2G0o (ORCPT ); Fri, 29 Apr 2016 02:26:44 -0400 Date: Thu, 28 Apr 2016 23:26:52 -0700 From: Manav Batra To: gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: sm750fb: Braces {} on all arms Message-ID: <20160429062652.GA4718@iiitd.ac.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Manav Batra Applied braces on all arms of the statement. --- drivers/staging/sm750fb/ddk750_chip.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index f80ee77..7748862 100644 --- a/drivers/staging/sm750fb/ddk750_chip.c +++ b/drivers/staging/sm750fb/ddk750_chip.c @@ -19,15 +19,16 @@ logical_chip_type_t getChipType(void) physicalID = devId750; /* either 0x718 or 0x750 */ physicalRev = revId750; - if (physicalID == 0x718) + 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; + } return chip; } -- 1.9.1