From patchwork Thu Jun 8 08:17:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Robson X-Patchwork-Id: 9774201 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 918356034B for ; Thu, 8 Jun 2017 08:17:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E7492621B for ; Thu, 8 Jun 2017 08:17:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72EA52654B; Thu, 8 Jun 2017 08:17:22 +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 EC6312621B for ; Thu, 8 Jun 2017 08:17:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751563AbdFHIRV (ORCPT ); Thu, 8 Jun 2017 04:17:21 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:33336 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751049AbdFHIRU (ORCPT ); Thu, 8 Jun 2017 04:17:20 -0400 Received: by mail-pg0-f65.google.com with SMTP id a70so3859683pge.0; Thu, 08 Jun 2017 01:17:19 -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=DrUHMFhyUdBXXwGWjwTs1emfoDuPBcUy0z1GGSuoWnc=; b=J8RN9qxUVdUr1bd7UH+bFlCFL0FTWtDXD5mizvhrmkK9WUM/3h8GctuYAS86J3Pmxs /tgeAun69UPbQTYsy5Ik8P7daYBYUeYro99QJf7NhY0M+CgkRKzTjX58Bp7e6QsARjVZ CBiBd2lVdABMgs6PukLESJW7HAeIB8nBawnYU9zOTGR1t/l6wmHn2yaMdh6Cz9Lw/qZz NCdFYmtITAEF/U2SYPwxNtCUbZ0ZJeGA4fZ7sRNU9IOnzg6Q+zWRAt3B7kCNbOfqkY1K mtrwvowSkn0A/KG04gPH3HovPRJddIxmpK2WY2t/DxIPSVAelAOuebSpe0zRXssaDPDv d/Fg== 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=DrUHMFhyUdBXXwGWjwTs1emfoDuPBcUy0z1GGSuoWnc=; b=aaSyBhatVcXX2zNu8TYLmEu0oBo50ygkM5odp+KuNEj8nJd6VCMU1w1KKhWE3hL5W6 W/Ek93vt1Ypu/rBpUs5og3YAK7Hj+KUfxWpZUZWTVWocpNw8OdT9RFvlWWRx8iZl55xQ 5h/S30lowIQiHdxliilm5P1QTV5u4tVmEOe7fFDLdlIX1ftl+pVzcQERcef3/1MnroDa jnQW8cCwdIeQDi2Ji7T3YNvv8tBUQo+znwjXPF++D8ZkUvOMkZoUj8AOuO8bhHjcluhH iwTO7KpG5O0fPdPk5SJEgZUWdOwbbyjwiw7bCdSCuXsVKTg2TgsWmbNQJMKGPW5pH9ub 1Q7g== X-Gm-Message-State: AODbwcDPr9MjWPDxU1y2fPP6dbPjrMCbZC7uC1o3T4yWg8x2KSUG2b2G T7d4stbEQ/L7yg== X-Received: by 10.99.160.82 with SMTP id u18mr16900372pgn.176.1496909839430; Thu, 08 Jun 2017 01:17:19 -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 w3sm7086703pfw.19.2017.06.08.01.17.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 01:17:18 -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] Drivers: sm750fb - style fix Date: Thu, 8 Jun 2017 20:17:07 +1200 Message-Id: <20170608081707.1825-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 Fix checkpatch.pl warnings of the form "function definition argument 'foo' should also have an identifier name" in header files. Signed-off-by: Derek Robson --- 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);