From patchwork Thu Jun 23 12:00:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wolzstefan@web.de X-Patchwork-Id: 9194965 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 72A536075C for ; Thu, 23 Jun 2016 12:10:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DF291FF65 for ; Thu, 23 Jun 2016 12:10:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E9B62835A; Thu, 23 Jun 2016 12:10:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 193491FF65 for ; Thu, 23 Jun 2016 12:10:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751509AbcFWMKQ (ORCPT ); Thu, 23 Jun 2016 08:10:16 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:40734 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750799AbcFWMKQ (ORCPT ); Thu, 23 Jun 2016 08:10:16 -0400 X-Greylist: delayed 591 seconds by postgrey-1.27 at vger.kernel.org; Thu, 23 Jun 2016 08:10:15 EDT Received: from faui49man12 (faui49man12.informatik.uni-erlangen.de [131.188.42.60]) by faui40.informatik.uni-erlangen.de (Postfix) with SMTP id F1A6658C4D2; Thu, 23 Jun 2016 14:00:22 +0200 (CEST) Received: by faui49man12 (sSMTP sendmail emulation); Thu, 23 Jun 2016 14:00:22 +0200 From: wolzstefan@web.de To: linux-kernel@vger.kernel.org Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@i4.cs.fau.de, Stefan Wolz , Christian Halder , Sebastian Handwerker Subject: [PATCH 1/4] sm750fb/sm750_hw.c: corrected alignment Date: Thu, 23 Jun 2016 14:00:10 +0200 Message-Id: <1466683213-17477-2-git-send-email-wolzstefan@web.de> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1466683213-17477-1-git-send-email-wolzstefan@web.de> References: <1466683213-17477-1-git-send-email-wolzstefan@web.de> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Stefan Wolz Fixed alignment in multiline declarations. Signed-off-by: Stefan Wolz Signed-off-by: Christian Halder Signed-off-by: Sebastian Handwerker --- drivers/staging/sm750fb/sm750_hw.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_hw.c b/drivers/staging/sm750fb/sm750_hw.c index 2daeedd..72380a8 100644 --- a/drivers/staging/sm750fb/sm750_hw.c +++ b/drivers/staging/sm750fb/sm750_hw.c @@ -173,7 +173,8 @@ int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev) } int hw_sm750_output_setMode(struct lynxfb_output *output, - struct fb_var_screeninfo *var, struct fb_fix_screeninfo *fix) + struct fb_var_screeninfo *var, + struct fb_fix_screeninfo *fix) { int ret; disp_output_t dispSet; @@ -244,8 +245,8 @@ int hw_sm750_crtc_checkMode(struct lynxfb_crtc *crtc, struct fb_var_screeninfo * set the controller's mode for @crtc charged with @var and @fix parameters */ int hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc, - struct fb_var_screeninfo *var, - struct fb_fix_screeninfo *fix) + struct fb_var_screeninfo *var, + struct fb_fix_screeninfo *fix) { int ret, fmt; u32 reg; @@ -361,7 +362,7 @@ exit: } int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index, - ushort red, ushort green, ushort blue) + ushort red, ushort green, ushort blue) { static unsigned int add[] = {PANEL_PALETTE_RAM, CRT_PALETTE_RAM}; @@ -529,8 +530,8 @@ int hw_sm750_deWait(void) } int hw_sm750_pan_display(struct lynxfb_crtc *crtc, - const struct fb_var_screeninfo *var, - const struct fb_info *info) + const struct fb_var_screeninfo *var, + const struct fb_info *info) { uint32_t total; /* check params */