From patchwork Tue Jan 10 02:23:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Matheina X-Patchwork-Id: 9506265 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F41F560710 for ; Tue, 10 Jan 2017 02:30:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 042CA284F4 for ; Tue, 10 Jan 2017 02:30:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED0A02853E; Tue, 10 Jan 2017 02:30:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FA39284E2 for ; Tue, 10 Jan 2017 02:30:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161991AbdAJCaV (ORCPT ); Mon, 9 Jan 2017 21:30:21 -0500 Received: from box.matheina.com ([104.236.11.237]:49950 "EHLO box.matheina.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161782AbdAJCaU (ORCPT ); Mon, 9 Jan 2017 21:30:20 -0500 X-Greylist: delayed 407 seconds by postgrey-1.27 at vger.kernel.org; Mon, 09 Jan 2017 21:30:20 EST Received: from authenticated-user (box.matheina.com [104.236.11.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by box.matheina.com (Postfix) with ESMTPSA id A8D4941CD5; Mon, 9 Jan 2017 20:23:31 -0600 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=matheina.com; s=mail; t=1484015012; bh=j3uUXWI5d+83mCWNl9vQKBn/l5bmWTDXwNbzaDvKcW4=; h=From:To:Cc:Subject:Date:From; b=l5DsU0w3rJ+GY94bZzYixw2jho7bprl4WdWEuCQe5VaWoO1L+92cvqoKeUGwj5BC8 xEJh+chYparTfkVuNCwLYZqAoUaGGPOgMO06zmehFOsJgGSLa6mWFUM6zrHtZeeo/m d6fS8bUeXYHNuyTDc/GoZi+E1+GxkKE9G5oHsuoZJYRBNRW+XIOWl3klcGPk3MjMeO eHXBUP/ntOMFaa90ukPheehBLqOSN/dyYbZ45cmC1i7SY8NLKKlBNnv3MWkZz6AHHX 4riQxMqtYUh1ZNtFq3LuMCmIgmmp8j5OIr1r5rw8Z5Af5ibM7suBbDE51DpWlBcoFG D372wvcGMpGRg== From: Scott Matheina To: linux-kernel@vger.kernel.org Cc: Sudip Mukherjee , Teddy Wang , Greg Kroah-Hartman , linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org Subject: [PATCH 1/2] staging:sm750fb:ddk750_chip.c Adds braces to last arm of statement Date: Mon, 9 Jan 2017 20:23:26 -0600 Message-Id: <1484015010-6058-1-git-send-email-scott@matheina.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes absence of braces on last arm of statement, identified by checkpatch Signed-off-by: Scott Matheina --- drivers/staging/sm750fb/ddk750_chip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index f59ce5c..ec33f1f 100644 --- a/drivers/staging/sm750fb/ddk750_chip.c +++ b/drivers/staging/sm750fb/ddk750_chip.c @@ -25,8 +25,9 @@ void sm750_set_chip_type(unsigned short devId, u8 revId) chip = SM750LE; pr_info("found sm750le\n"); } - } else + } else { chip = SM_UNKNOWN; + } } static unsigned int get_mxclk_freq(void)