From patchwork Mon Jan 19 08:11:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 5655461 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 492E19F333 for ; Mon, 19 Jan 2015 08:12:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 85B2E20131 for ; Mon, 19 Jan 2015 08:12:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BA2BA20120 for ; Mon, 19 Jan 2015 08:12:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751374AbbASIM0 (ORCPT ); Mon, 19 Jan 2015 03:12:26 -0500 Received: from mail-pd0-f173.google.com ([209.85.192.173]:33836 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751461AbbASILb (ORCPT ); Mon, 19 Jan 2015 03:11:31 -0500 Received: by mail-pd0-f173.google.com with SMTP id fp1so10310835pdb.4; Mon, 19 Jan 2015 00:11:30 -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:in-reply-to:references; bh=MYVMETcvmf0kW00xBLUt2MMs2h6ddGca3hYSo8K1ka4=; b=Mk3yfL896EwmZT7I6r7CvjrNRwDy8PJzTxKGN2Zs/QMlvEzexQtWYozcuh5Fi7OsCz uQY+sjcp+/H6bsVxPf+k0ACEI5Ejyg9EgLPzDLgmABcYdbM8vXZrm+q64fQRfrHIvTGa 5OeYvdFHbdcV9mg4umdPi0GQB4uSFDc+vi1f7En189vtLFPXme4F+WQfl+1uAiPUfvXj xGQfjgTRKRhQzeDuQ5tDLYjCDJTV8yqzPCTsBdQV9zh0RDcCMO5EFK2RdI/D7Q1U37dU fYvpY2tThxuinz4dm4XF69KTExthAeT2EqWhpToi/LvP6dWRZt+NwPwSoqi9pc3sk6PY pHFw== X-Received: by 10.70.48.201 with SMTP id o9mr3887513pdn.4.1421655090583; Mon, 19 Jan 2015 00:11:30 -0800 (PST) Received: from localhost.localdomain ([122.169.178.33]) by mx.google.com with ESMTPSA id l4sm10897280pdj.47.2015.01.19.00.11.27 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Jan 2015 00:11:29 -0800 (PST) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: Sudip Mukherjee , Teddy Wang , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linux-fbdev@vger.kernel.org Subject: [PATCH v2 4/7] staging: sm7xxfb: add missing blank line Date: Mon, 19 Jan 2015 13:41:03 +0530 Message-Id: <1421655067-7490-4-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1421655067-7490-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1421655067-7490-1-git-send-email-sudipm.mukherjee@gmail.com> 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, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 checkpatch cleanup to add missing blank line after declaration Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/sm7xxfb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index c550b71..6bce9f1 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -259,6 +259,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green, if (regno < 16) { if (sfb->fb.var.bits_per_pixel == 16) { u32 *pal = sfb->fb.pseudo_palette; + val = chan_to_field(red, &sfb->fb.var.red); val |= chan_to_field(green, &sfb->fb.var.green); val |= chan_to_field(blue, &sfb->fb.var.blue); @@ -273,6 +274,7 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green, #endif } else { u32 *pal = sfb->fb.pseudo_palette; + val = chan_to_field(red, &sfb->fb.var.red); val |= chan_to_field(green, &sfb->fb.var.green); val |= chan_to_field(blue, &sfb->fb.var.blue);