From patchwork Sun Jan 24 22:36:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Rose X-Patchwork-Id: 8102471 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 4ADCE9F859 for ; Sun, 24 Jan 2016 22:36:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 711DA2039E for ; Sun, 24 Jan 2016 22:36:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C24820320 for ; Sun, 24 Jan 2016 22:36:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754882AbcAXWgv (ORCPT ); Sun, 24 Jan 2016 17:36:51 -0500 Received: from mail-qk0-f179.google.com ([209.85.220.179]:36802 "EHLO mail-qk0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753531AbcAXWgs (ORCPT ); Sun, 24 Jan 2016 17:36:48 -0500 Received: by mail-qk0-f179.google.com with SMTP id s68so48294706qkh.3 for ; Sun, 24 Jan 2016 14:36:48 -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=jEdblmmGt7W6mH0cA0ycRgiyBOp5Gou/z4Slatb81/M=; b=LCa9t2uKgjr+Ye54Fl+vYIQdAXVWapz4jmoDVHDKpJvsHHSTY9JJMqS3nNUu6IkDcF oWZPS4q9b8bIl330TRU8hkchzGcNiNFoeAcsf+Dd3d0BEdDc7WG5z/ZaC/1TKHYuJd5p VxDXF6WVOd0CqpsxitunZ7V8sBcVSYKn92L//jnaSUzjY4lX4CrXTJH/udS+ZPkD0erc /30JdQc8MyKLtOETVY5ACNbQ5agYDx+ntJZuF2riJfJgVwL6ppfEEBxsTPK+FQ/Hayf/ 27kXphVTZdaHmU1jIzbdup46oddFPewPbX5jSl05b5r5wbwMj/544ie6vnjISS+PAKMA ec1g== 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=jEdblmmGt7W6mH0cA0ycRgiyBOp5Gou/z4Slatb81/M=; b=icxqw7zyNPqccrhy1HcULurZSpECXWHIafKV/K6yamm0DHcxrr7JAWxi1fA5N8RqsV gWyK3iada2PdoY1EfQXO7lhJc3xnJwyLL6b/AnCEM47y5FD7cISXOlqkqGfIdVQLNjjg yFOozM1KxzLR9/invEKc5tWMPgXQBUX54s3KHeTnkM/PEJ7q1UQDCM5HJLm7oS4YSH66 yA3mDrpDAjb3nIIzYBul6VKOXaldtN5+Tj3IC+H/TXjeFB66l5GRMLAMfM3eWScoKxVe D+ZjY+isYkGltugV8T7Lge8naTMX1S18QRdWva3mY8MzxDGm5WpJeSI9VmzvD7z5b839 o27w== X-Gm-Message-State: AG10YOR2NdcaywITMyz932WBh3MI8bbPaTTVUumuEhEFq6qQ1o+zMeNOqiy5f+O77JBb9A== X-Received: by 10.55.42.140 with SMTP id q12mr16894138qkq.103.1453675007919; Sun, 24 Jan 2016 14:36:47 -0800 (PST) Received: from localhost (pool-71-173-94-203.ptldme.east.myfairpoint.net. [71.173.94.203]) by smtp.gmail.com with ESMTPSA id c2sm7629990qkb.41.2016.01.24.14.36.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jan 2016 14:36:46 -0800 (PST) From: Charles Rose To: sudipm.mukherjee@gmail.com, sudip@vectorindia.org, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org Cc: linux-fbdev@vger.kernel.org Subject: [RESEND PATCH] staging: sm750fb: cleanup: fix brace placement Date: Sun, 24 Jan 2016 17:36:43 -0500 Message-Id: <1453675003-3688-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 --- This is a resend of the original patch posted on 20160119 where my recepient list was incomplete. 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;