From patchwork Wed May 6 03:07:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charles Rose X-Patchwork-Id: 6345751 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C7B23BEEE1 for ; Wed, 6 May 2015 03:07:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 00DBE20211 for ; Wed, 6 May 2015 03:07:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A40420266 for ; Wed, 6 May 2015 03:07:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932874AbbEFDHz (ORCPT ); Tue, 5 May 2015 23:07:55 -0400 Received: from mail-qc0-f177.google.com ([209.85.216.177]:33829 "EHLO mail-qc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932810AbbEFDHu (ORCPT ); Tue, 5 May 2015 23:07:50 -0400 Received: by qcyk17 with SMTP id k17so98756108qcy.1; Tue, 05 May 2015 20:07:49 -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=QDdF7TWuwVId8UGhHuh6RCxTMLjXPDLSsJ/17mtpL+U=; b=uzDt9qNpDn2h18AbWaviaIOQPbhG0Z3zSD712SZufOIOb7kSjruO6Fl4nVV5Bx6vkz Bv6Tee2OYiq6E+LdcST1EhO5tnnGun5+EZrqUVob6Bv5X4xvLcf7DPpXQUvqYv3OxEdI ofHB+qt9p0KzLDwA1mShFBXNXr4JNLtVjGAaZzyHaBIX59489oC/8M703O2dBmserdPE qfqZCKC/Y61Ms6DbRMit9vMQSfVZ8P1MYTWDnRhqpfU1xXOPDcDIhLU3FME9FQvdJHBj hMMyEcHZ+VNePUq50RDwDBc5YMwndnbvo3l3eXrQHoAfOMQTaHUU3aAODOZObfNThf+8 sZFw== X-Received: by 10.55.23.78 with SMTP id i75mr61028506qkh.82.1430881669765; Tue, 05 May 2015 20:07:49 -0700 (PDT) Received: from localhost (pool-64-222-108-215.burl.east.myfairpoint.net. [64.222.108.215]) by mx.google.com with ESMTPSA id q105sm323082qgq.11.2015.05.05.20.07.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 May 2015 20:07:48 -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 v3 2/2] staging: sm750fb: cleanup indentation Date: Tue, 5 May 2015 23:07:44 -0400 Message-Id: <1430881664-13727-2-git-send-email-charles.rose.linux@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1430881664-13727-1-git-send-email-charles.rose.linux@gmail.com> References: <1430881664-13727-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 2e418fb..147273a 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);