From patchwork Sun Jun 28 23:43:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatoly Stepanov X-Patchwork-Id: 6686901 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 4270D9F3E6 for ; Sun, 28 Jun 2015 23:44:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5247620546 for ; Sun, 28 Jun 2015 23:44:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 46DE020544 for ; Sun, 28 Jun 2015 23:44:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752767AbbF1Xoq (ORCPT ); Sun, 28 Jun 2015 19:44:46 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:35300 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752763AbbF1Xop (ORCPT ); Sun, 28 Jun 2015 19:44:45 -0400 Received: by lagh6 with SMTP id h6so34692730lag.2 for ; Sun, 28 Jun 2015 16:44:43 -0700 (PDT) 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=05/w6gU5rCQ74SCnJiGKViscMC/Z1lbSK0KH+nPBIsk=; b=aAhO/4hieT5a3pTzgRhnO3Epdo4MeGv3Br7dlXzR2xpO3E+gbediU5fv1E0F+STXxu XdaShT84kFt+/iSe9kCwxjcNgdHCUT5Hn5YbRdJypkPhevfbAiZusCr1DAgOB9VQ0wkB 1N58nvJvf6MypRCyk5YRcKnc9FaCwOM0czQ9bMc+3mEYkXLiCyENauwH51m0NyzezP8A bp2D/rggsmV7FEle+IRYqyvKkhlyVfKHA1gioJDoNiwR5JJB7ycvooQGf7geD5EorMqH Ewj3So7UvZYa9HCjLWKnto4dJT2H7CzgrhkIKveg97p6NsRIU1ag4ZvkOG8weBcDg+EO jFjQ== X-Received: by 10.152.5.227 with SMTP id v3mr8896922lav.39.1435535083530; Sun, 28 Jun 2015 16:44:43 -0700 (PDT) Received: from localhost.localdomain (37-145-237-243.broadband.corbina.ru. [37.145.237.243]) by mx.google.com with ESMTPSA id t15sm10210918lbk.0.2015.06.28.16.44.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Jun 2015 16:44:43 -0700 (PDT) From: Anatoly Stepanov To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org Cc: linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, Anatoly Stepanov Subject: [PATCH 02/11] staging: sm750fb: remove trailing whitespaces Date: Mon, 29 Jun 2015 02:43:55 +0300 Message-Id: <1435535044-22042-3-git-send-email-drivengroove@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1435535044-22042-1-git-send-email-drivengroove@gmail.com> References: <1435535044-22042-1-git-send-email-drivengroove@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=-7.4 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 Remove trailing whitespaces according to checkpatch.pl error message: "ERROR: trailing whitespace" Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_hw.c b/drivers/staging/sm750fb/sm750_hw.c index 3b3089c..1dd20be 100644 --- a/drivers/staging/sm750fb/sm750_hw.c +++ b/drivers/staging/sm750fb/sm750_hw.c @@ -28,7 +28,7 @@ int hw_sm750_map(struct lynx_share* share, struct pci_dev* pdev) { int ret; struct sm750_share *spec_share; - + spec_share = container_of(share, struct sm750_share, share); ret = 0; @@ -60,7 +60,7 @@ int hw_sm750_map(struct lynx_share* share, struct pci_dev* pdev) pr_info("mmio virtual addr = %p\n", share->pvReg); } - + share->accel.dprBase = share->pvReg + DE_BASE_ADDR_TYPE1; share->accel.dpPortBase = share->pvReg + DE_PORT_ADDR_TYPE1; @@ -104,7 +104,7 @@ int hw_sm750_inithw(struct lynx_share *share, struct pci_dev *pdev) { struct sm750_share *spec_share; struct init_status *parm; - + spec_share = container_of(share, struct sm750_share, share); parm = &spec_share->state.initParm; if(parm->chip_clk == 0) @@ -202,7 +202,7 @@ int hw_sm750_inithw(struct lynx_share *share, struct pci_dev *pdev) resource_size_t hw_sm750_getVMSize(struct lynx_share *share) { resource_size_t ret; - + ret = ddk750_getVMSize(); return ret; } @@ -211,7 +211,7 @@ resource_size_t hw_sm750_getVMSize(struct lynx_share *share) int hw_sm750_output_checkMode(struct lynxfb_output* output, struct fb_var_screeninfo* var) { - + return 0; } @@ -222,7 +222,7 @@ int hw_sm750_output_setMode(struct lynxfb_output* output, int ret; disp_output_t dispSet; int channel; - + ret = 0; dispSet = 0; channel = *output->channel; @@ -259,14 +259,14 @@ int hw_sm750_output_setMode(struct lynxfb_output* output, void hw_sm750_output_clear(struct lynxfb_output* output) { - + return; } int hw_sm750_crtc_checkMode(struct lynxfb_crtc* crtc, struct fb_var_screeninfo* var) { struct lynx_share *share; - + share = container_of(crtc, struct lynxfb_par, crtc)->share; @@ -303,7 +303,7 @@ int hw_sm750_crtc_setMode(struct lynxfb_crtc* crtc, struct lynx_share *share; struct lynxfb_par *par; - + ret = 0; par = container_of(crtc, struct lynxfb_par, crtc); share = par->share; @@ -414,7 +414,7 @@ exit: void hw_sm750_crtc_clear(struct lynxfb_crtc* crtc) { - + return; } @@ -428,7 +428,7 @@ int hw_sm750_setColReg(struct lynxfb_crtc* crtc, ushort index, int hw_sm750le_setBLANK(struct lynxfb_output * output, int blank){ int dpms, crtdb; - + switch(blank) { #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 10) @@ -483,7 +483,7 @@ int hw_sm750le_setBLANK(struct lynxfb_output * output, int blank){ int hw_sm750_setBLANK(struct lynxfb_output* output, int blank) { unsigned int dpms, pps, crtdb; - + dpms = pps = crtdb = 0; switch (blank) @@ -636,4 +636,3 @@ int hw_sm750_pan_display(struct lynxfb_crtc *crtc, } return 0; } -