From patchwork Fri Apr 24 15:10:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Rose X-Patchwork-Id: 6270921 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 A97429F389 for ; Fri, 24 Apr 2015 15:11:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A57CF2018E for ; Fri, 24 Apr 2015 15:11:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4FA7020172 for ; Fri, 24 Apr 2015 15:11:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757643AbbDXPLA (ORCPT ); Fri, 24 Apr 2015 11:11:00 -0400 Received: from mail-qg0-f51.google.com ([209.85.192.51]:32932 "EHLO mail-qg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756738AbbDXPK7 (ORCPT ); Fri, 24 Apr 2015 11:10:59 -0400 Received: by qgdy78 with SMTP id y78so24103659qgd.0; Fri, 24 Apr 2015 08:10:59 -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=mzRKgMAedcDXudK7B/IsF/WCDbXFqCIslkkGuZlEkyU=; b=aVm7rLCeb2PkFwidM/m427K8aWRJC2G8x+YXayknZMjnORdKj3mUnEZ0AFmUx3qcbC UsT0KV3nh/Tv4IdS6HLPC0ob0URaygWbYSwSb3G2POmrgbS8EXV+TbqmIhLo0JCnMJSX YvMjxxQFgrAbqpSDnWGnRx3NhWvnsIlsNlS8kh29sp5i1V01+0Zr7dFDvuFjzSJAQf2v YXpfUkY1QTPtuAgyQ0NpIIATGWrGGObr4e/NOjvNo8HTftzCdRziy9yK+r6nxN+X8u59 E19Ej91tbPr1rtrAwmm24URGIol9nCC1QP8/4mpND5sBi+QNd2o6IxwEmx3d7PRFT+eG /jRg== X-Received: by 10.140.96.165 with SMTP id k34mr9727521qge.102.1429888259057; Fri, 24 Apr 2015 08:10:59 -0700 (PDT) Received: from localhost ([65.206.2.2]) by mx.google.com with ESMTPSA id n72sm8413569qha.19.2015.04.24.08.10.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2015 08:10:57 -0700 (PDT) From: Charles Rose To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: charles.rose.linux@gmail.com Subject: [PATCH v2 2/2] staging: sm750fb: cleanup indentation Date: Fri, 24 Apr 2015 11:10:56 -0400 Message-Id: <1429888256-18890-1-git-send-email-charles.rose.linux@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1429887612-15285-1-git-send-email-charles.rose.linux@gmail.com> References: <1429887612-15285-1-git-send-email-charles.rose.linux@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 This patch fixes indentation errors/warnings reported by checkpatch.pl. Signed-off-by: Charles Rose --- drivers/staging/sm750fb/ddk750_mode.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_mode.c b/drivers/staging/sm750fb/ddk750_mode.c index 8e7b9d4..eac5712 100644 --- a/drivers/staging/sm750fb/ddk750_mode.c +++ b/drivers/staging/sm750fb/ddk750_mode.c @@ -44,21 +44,29 @@ static unsigned long displayControlAdjust_SM750LE(mode_parameter_t *pModeParam, /* Set bit 29:27 of display control register for the right clock */ /* Note that SM750LE only need to supported 7 resoluitons. */ if (x == 800 && y == 600) - dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL41); + dispControl = FIELD_SET(dispControl, + CRT_DISPLAY_CTRL, CLK, PLL41); else if (x == 1024 && y == 768) - dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL65); + dispControl = FIELD_SET(dispControl, + CRT_DISPLAY_CTRL, CLK, PLL65); else if (x == 1152 && y == 864) - dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL80); + dispControl = FIELD_SET(dispControl, + CRT_DISPLAY_CTRL, CLK, PLL80); else if (x == 1280 && y == 768) - dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL80); + dispControl = FIELD_SET(dispControl, + CRT_DISPLAY_CTRL, CLK, PLL80); else if (x == 1280 && y == 720) - dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL74); + dispControl = FIELD_SET(dispControl, + CRT_DISPLAY_CTRL, CLK, PLL74); else if (x == 1280 && y == 960) - dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL108); + dispControl = FIELD_SET(dispControl, + CRT_DISPLAY_CTRL, CLK, PLL108); else if (x == 1280 && y == 1024) - dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL108); + dispControl = FIELD_SET(dispControl, + CRT_DISPLAY_CTRL, CLK, PLL108); else /* default to VGA clock */ - dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL25); + dispControl = FIELD_SET(dispControl, + CRT_DISPLAY_CTRL, CLK, PLL25); /* Set bit 25:24 of display controller */ dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CRTSELECT, CRT);