From patchwork Sun Jun 25 01:54:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Robson X-Patchwork-Id: 9807913 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 3139F60329 for ; Sun, 25 Jun 2017 01:55:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08618286F2 for ; Sun, 25 Jun 2017 01:55:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE60D286FB; Sun, 25 Jun 2017 01:55:11 +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 66B8D286F2 for ; Sun, 25 Jun 2017 01:55:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754970AbdFYBzK (ORCPT ); Sat, 24 Jun 2017 21:55:10 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:34181 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754831AbdFYBzJ (ORCPT ); Sat, 24 Jun 2017 21:55:09 -0400 Received: by mail-pg0-f65.google.com with SMTP id j186so10943417pge.1; Sat, 24 Jun 2017 18:55:08 -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=X5fvhA+ZHjEVckm1YTkDUqvjSxJQVxzFsPf+M/LEqRI=; b=p15w+HtrpEpWFgfbQzFUfxFIsZepkU5BzICodeYPno9FqDsHDi9rWzdJOqVj1sjSHq HowiSlautJPEwpGQ2MRcmQswy6MfqoPuEsa+AVRpe7kLctp+h/Riy9AyU/URmBWDAuZ+ TCGIqaAv6nJft1CzGWEj1Kj0NuowrFyKMb7IhcRCUqRQwnWFhMsNvxvZ+FZ7HZnBYKRl IF2mel45CY67hkNxhf4JrwRjYASVomGNpX+lSBm3Qxw8BOZKN+h+SuWp6uZSCqhe4OkN p2qEj9lHHqXoFHto2N6qhSXbhHWIKOtYB8R68buV6ssDoCBMROUiGJZSERWs0tImdlRB yW0Q== 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=X5fvhA+ZHjEVckm1YTkDUqvjSxJQVxzFsPf+M/LEqRI=; b=LUpavHkbGmM5J2Cpv8OX3KcHWTsdZvTFShz0lGXsZBz0fkxE45pq0y9EKcjL97b/y9 ul4uazvi49FhrQgpDe0j3XWl+446yI4LzHlI97k/rddHpw+qSJ8mOOLCrUp17+xxwV6m dxTNmxAIwJ61aI2rAKcMV1tZ9ioUjDpxNbFZ7O1zNMJVs+kd+b6uAjs/My4nZa5MkbpP 69L9hZdmwjNPcPylBBYG8XiewoNoXTdnXU8boyiFmGpIUn0qbnUll7AixfNdsTVDbSiY AiFLXf1cB2ykkuVvH1KZUibgCyhrcsDvn21tzVUqLS2MbVf3OhjFdocqOxWQw2WOaKsG 0wFA== X-Gm-Message-State: AKS2vOx6MKLaYOhz7i/NcjannNrFdxaugXuR6UP7a1KZeYJR6ZAd56BW c27Gm40NOvjtwA== X-Received: by 10.99.185.89 with SMTP id v25mr14837806pgo.189.1498355708466; Sat, 24 Jun 2017 18:55:08 -0700 (PDT) Received: from localhost.localdomain (118-93-250-25.dsl.dyn.ihug.co.nz. [118.93.250.25]) by smtp.gmail.com with ESMTPSA id n74sm13769610pfh.118.2017.06.24.18.55.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Jun 2017 18:55:08 -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 V3] staging: sm750fb - add parameter names Date: Sun, 25 Jun 2017 13:54:59 +1200 Message-Id: <20170625015459.30558-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 --- V2 had V1 comment above the line V1 had vauge subject line 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);