From patchwork Sat Jun 17 03:03:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Robson X-Patchwork-Id: 9793897 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 73D5F60325 for ; Sat, 17 Jun 2017 03:03:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6525A27F4B for ; Sat, 17 Jun 2017 03:03:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 59BBA283CB; Sat, 17 Jun 2017 03:03:55 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 0A5D227F4B for ; Sat, 17 Jun 2017 03:03:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752556AbdFQDDm (ORCPT ); Fri, 16 Jun 2017 23:03:42 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:33977 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752595AbdFQDDk (ORCPT ); Fri, 16 Jun 2017 23:03:40 -0400 Received: by mail-pg0-f68.google.com with SMTP id j186so8624929pge.1; Fri, 16 Jun 2017 20:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=HSu9mfRVH1mSdwSU94B2akMJ5OoUbJriupanIOk7khs=; b=SC/nhTtvL6cOt2QQg258ymUCPGlCcToC4lGwyKleAIpgF6N0phZ42izu7AelHktFdM EJEDUm8msJT9XBnpugTjFmQ8CqLwLH1bg4QhDQMWdiAVPPTBfZjyvdEbJ8qkTlyaXqiT W76zBUvm+zFsuSiqHZiS02ikna/A0WcuURGtY/kpghvzHguBIn0YOXShzMdas0IfrIkv a464C+HcGM45Cwp+7DtWOKbl7h0/DLQFTV8KA1cUpUrXHgqdnnLVQfxQzPLzokrh/22N RcPuh/mtklUIKqlFfyGFQyH+RH8Vl2/xE57yIDeq5BBkJXY8l0j6ga3FxEqyft2+nUnt fLZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HSu9mfRVH1mSdwSU94B2akMJ5OoUbJriupanIOk7khs=; b=Ki5aq0U3tixGbouWjPhINgDflzHTLhW4anCnTYJ7zGgEzZqJlesLEqbjXZrTjSomFS eAT68FeaKk4EOTXtgGAIfQV6LW6z8/ZmlslSkSf4eaCkKUWrqRKaagQrTIUCQ0KyG5pt cIt6We+fy3xAEkLtg87lFg08YW//9Oh/B/SJ0UqTz5hyr8gtFZhlsnzv0P8RWXIvc8Fp 1fjkVnDnrfS8AdxRdcCY2cBD7ga08L3v282TpTB7dP49fc54sM86WYZNtfFETN6me8n3 7iP8Jw3Q+MzTpao50rQ/dxCR5T2qnL9PKRRH6n7TOOc/dhJkUcZr+dLYVjzdQJepyYdK bRPQ== X-Gm-Message-State: AKS2vOxCcUM8TbqMqDBbSHjpxbyvHmYxWBSRIGliTBj42YG9nWT86cS4 ti+gamgZPxGYnQ== X-Received: by 10.84.132.65 with SMTP id 59mr16425824ple.21.1497668614383; Fri, 16 Jun 2017 20:03:34 -0700 (PDT) Received: from localhost.localdomain (118-93-249-217.dsl.dyn.ihug.co.nz. [118.93.249.217]) by smtp.gmail.com with ESMTPSA id g86sm7212520pfe.116.2017.06.16.20.03.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 20:03:33 -0700 (PDT) From: Derek Robson To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org Cc: linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Derek Robson Subject: [PATCH V2] staging: sm750fb - style fix Date: Sat, 17 Jun 2017 15:03:24 +1200 Message-Id: <20170617030324.14285-1-robsonde@gmail.com> X-Mailer: git-send-email 2.13.0 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 Fixed checkpatch.pl warnings of the form "function definition argument 'foo' should also have an identifier name" in header files. Signed-off-by: Derek Robson V1 had vague subject --- drivers/staging/sm750fb/sm750.h | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index 5b186dafedec..4386122799b2 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -189,14 +189,22 @@ void hw_sm750_initAccel(struct sm750_dev *sm750_dev); int hw_sm750_deWait(void); int hw_sm750le_deWait(void); -int hw_sm750_output_setMode(struct lynxfb_output*, struct fb_var_screeninfo*, - struct fb_fix_screeninfo*); -int hw_sm750_crtc_checkMode(struct lynxfb_crtc*, struct fb_var_screeninfo*); -int hw_sm750_crtc_setMode(struct lynxfb_crtc*, struct fb_var_screeninfo*, - struct fb_fix_screeninfo*); -int hw_sm750_setColReg(struct lynxfb_crtc*, ushort, ushort, ushort, ushort); -int hw_sm750_setBLANK(struct lynxfb_output*, int); -int hw_sm750le_setBLANK(struct lynxfb_output*, int); +int hw_sm750_output_setMode(struct lynxfb_output *output, + struct fb_var_screeninfo *var, + struct fb_fix_screeninfo *fix); + +int hw_sm750_crtc_checkMode(struct lynxfb_crtc *crtc, + struct fb_var_screeninfo *var); + +int hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc, + struct fb_var_screeninfo *var, + struct fb_fix_screeninfo *fix); + +int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index, + ushort red, ushort green, ushort blue); + +int hw_sm750_setBLANK(struct lynxfb_output *output, int blank); +int hw_sm750le_setBLANK(struct lynxfb_output *output, int blank); int hw_sm750_pan_display(struct lynxfb_crtc *crtc, const struct fb_var_screeninfo *var, const struct fb_info *info);