From patchwork Tue Jan 19 23:42:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Rose X-Patchwork-Id: 8065821 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A1F059F6FA for ; Tue, 19 Jan 2016 23:42:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B6FD920552 for ; Tue, 19 Jan 2016 23:42:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9CA432054E for ; Tue, 19 Jan 2016 23:42:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757301AbcASXmU (ORCPT ); Tue, 19 Jan 2016 18:42:20 -0500 Received: from mail-qg0-f42.google.com ([209.85.192.42]:34704 "EHLO mail-qg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756908AbcASXmT (ORCPT ); Tue, 19 Jan 2016 18:42:19 -0500 Received: by mail-qg0-f42.google.com with SMTP id 6so514333799qgy.1 for ; Tue, 19 Jan 2016 15:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=XTOMCCwZ/SSGtGRFkWBtzU7Zq8JOFr8vJIEtf6sIu00=; b=Hilag0mK5MAl5SO5mSbyKuw6VP7oAJRCplyQLQGzQX62d4lzjOq4tA89hLj4wTjbRc FUr9S8xrcORNHYmKBahkDZyliz+hehuKeW+RB/hiUMFV6A1TfMZTmXv2DA/BoBdDAimc /Hx5+llM4DncRAU9YNixiC45Kk6ZB8LuLpnhxKijnlSIjbBuy0ejxQCyvmMA6b9CBZD1 A9JjeOEDNwiIam9A6T6Kln7S5XveNgQNt/XC2eJjd4z0L1k31aIQIqPwHs7Uq8GuZrPP 296/Ov//oeTlXleuJK3LbJ33haqxFdIFiALRCvRI9cgNZlkntMw92zzxgwVCdqGX/mrg Hq6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XTOMCCwZ/SSGtGRFkWBtzU7Zq8JOFr8vJIEtf6sIu00=; b=Mnab6KO0oKQwtj7b2E0VGDGSWXItpfV3DVytJ1w4xDLm7pipRyAOMlKQh+zCjLX+/t enSIbsx5vrDcKo7iFVu1q7vK6wM87U9ubZlX67EQ2SCHOmw9AdQHXdRi7358B3v5lQNX cTgh45+Nh04X3ERxr7HcRlZR32+UvDVOLw8dHmDBUaSxFtJQK5bUNK3IA7iYEnoEBqVD K+I7PNQdqWcyxCbvuqhGMo8n+GVtjtZuiuKEQx1Ld3NaaOm7/sFEB/WtEZ5R2CTjucgp JA9ujtEDPrtdBIye0Zh6ozwNIA3hdxFO9kH+i1oBDk3fZfWtuVKLqR1JlpKwkd0Arvxl hTGQ== X-Gm-Message-State: ALoCoQlDfhEIo+bPX1FN1nIXdJBcIXi8jXNxlhUDVixA1A3HoCwxX7o7udvyVKL79WqC6FuTSkKjtZZL41Og8rpkKvGWdpqZ2w== X-Received: by 10.140.42.139 with SMTP id c11mr42061310qga.5.1453246938842; Tue, 19 Jan 2016 15:42:18 -0800 (PST) Received: from localhost (pool-72-92-132-97.burl.east.myfairpoint.net. [72.92.132.97]) by smtp.gmail.com with ESMTPSA id h64sm13172275qgh.39.2016.01.19.15.42.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jan 2016 15:42:17 -0800 (PST) From: Charles Rose To: sudipm.mukherjee@gmail.com, sudip@vectorindia.org, teddy.wang@siliconmotion.com Cc: linux-fbdev@vger.kernel.org Subject: [PATCH] staging: sm750fb: cleanup: fix brace placement Date: Tue, 19 Jan 2016 18:42:15 -0500 Message-Id: <1453246935-5037-1-git-send-email-charles.rose.linux@gmail.com> X-Mailer: git-send-email 2.5.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix brace placement warnings caught by checkpatch.pl. Signed-off-by: Charles Rose --- drivers/staging/sm750fb/sm750_cursor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index 3b7ce92..cab891c 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -143,8 +143,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor, iowrite16(data, pbuffer); /* assume pitch is 1,2,4,8,...*/ - if ((i+1) % pitch == 0) - { + if ((i+1) % pitch == 0) { /* need a return */ pstart += offset; pbuffer = pstart;