From patchwork Sun Mar 5 11:24:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arushi X-Patchwork-Id: 9604529 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 5C21260414 for ; Sun, 5 Mar 2017 11:25:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A9322818E for ; Sun, 5 Mar 2017 11:25:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F387283BC; Sun, 5 Mar 2017 11:25:35 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=unavailable 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 ED1062818E for ; Sun, 5 Mar 2017 11:25:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752610AbdCELZX (ORCPT ); Sun, 5 Mar 2017 06:25:23 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:36451 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752541AbdCELZV (ORCPT ); Sun, 5 Mar 2017 06:25:21 -0500 Received: by mail-pg0-f67.google.com with SMTP id 25so17072622pgy.3; Sun, 05 Mar 2017 03:25:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IZNrYpZxP3rgk9uXjk9vYC79Awrw1RLNlFW/PRIIKdM=; b=XDHJhNnPtzrCoktovsEdLU9uS0sRCwfTdD9YJ2q17hIPdJNJE6XPm3EONmPxN/fuxx ePOldbXlGZyANzVt2qZ0NFWOomaF53OMqG1m6gA7sfJngQCIFiGqZOSQRrnSKWa3p+Gg ug+tBSN1QjFwUs9d5zaqI6qEkyYv9ZU1ZvqXCmsrqz6LFFtwLDqeMwqX1TXDALFx+G9n WuIf89MlfARbnVUpthCwch3NET4O/hpK5FlbWAy7y0WeBrIlz2B6U+5rRjGQgReIp333 oG146VaTOVaFTXMIq7AKJ8CcOLi59WqWNm6T5pMQxXZrpoGDq98z7CYBkxaFPah0o/2W kERQ== 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:in-reply-to :references; bh=IZNrYpZxP3rgk9uXjk9vYC79Awrw1RLNlFW/PRIIKdM=; b=eEobouN+ysamxZGZYrQ8VWzSgvNHZEyF2cc0Hiq/Q2IqwiY+EN+mO8zM8ufSR+rQoB YLz6pvMag/MS1a5zd+sbl0oPdVgPU8XPtP5GZZcPRIseuQfMmuSbqFo8qwVluqkLBAK1 ig1M/52uEDV15xJUrPeHY/flKwdERDBigW7sZTIiJrcl5A9kGGjN7aJ8HhKlUQmzT5f2 jQ+n1ezOJy8u72Byqpk6XcxRn8knEbks+JgKwnRMz9ZU4KXFEe420Bj4Y77UD2yLe37n QbxFqj2xnfamZqlG+aUVhM/fOxkT2XRre4REh9B6f7/P23SMNHLR3/VeHS2ayqhOx0ah th6Q== X-Gm-Message-State: AMke39kee90XT86PmXD+0GrFQiBPspiCdLuMGYBldRZG4vQleS6WBBZDp7dJ4rrLpXMFBw== X-Received: by 10.98.51.70 with SMTP id z67mr14224257pfz.68.1488713109723; Sun, 05 Mar 2017 03:25:09 -0800 (PST) Received: from arushi-HP-Pavilion-Notebook ([14.139.82.6]) by smtp.gmail.com with ESMTPSA id b7sm33332931pfg.53.2017.03.05.03.25.08 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 05 Mar 2017 03:25:08 -0800 (PST) From: Arushi Singhal To: sudipm.mukherjee@gmail.com Cc: teddy.wang@siliconmotion.com, outreachy-kernel@googlegroups.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Arushi Singhal Subject: [PATCH 2/3] staging: sm750fb: function prototype argument should have an identifier name Date: Sun, 5 Mar 2017 16:54:49 +0530 Message-Id: <20170305112450.9066-3-arushisinghal19971997@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170305112450.9066-1-arushisinghal19971997@gmail.com> References: <20170305112450.9066-1-arushisinghal19971997@gmail.com> 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 function prototype arguments like 'struct vb_device_info *','unsigned long' etc. should have an identifier name. Signed-off-by: Arushi Singhal --- drivers/staging/sm750fb/ddk750_display.h | 2 +- drivers/staging/sm750fb/ddk750_mode.h | 2 +- drivers/staging/sm750fb/ddk750_power.h | 2 +- drivers/staging/sm750fb/sm750.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_display.h b/drivers/staging/sm750fb/ddk750_display.h index 8bf22e4f0d8b..369f1740a42b 100644 --- a/drivers/staging/sm750fb/ddk750_display.h +++ b/drivers/staging/sm750fb/ddk750_display.h @@ -103,6 +103,6 @@ typedef enum _disp_output_t { disp_output_t; -void ddk750_setLogicalDispOut(disp_output_t); +void ddk750_setLogicalDispOut(disp_output_t output); #endif diff --git a/drivers/staging/sm750fb/ddk750_mode.h b/drivers/staging/sm750fb/ddk750_mode.h index b4cd90a5d2bc..0292d87aa98b 100644 --- a/drivers/staging/sm750fb/ddk750_mode.h +++ b/drivers/staging/sm750fb/ddk750_mode.h @@ -36,6 +36,6 @@ typedef struct _mode_parameter_t { mode_parameter_t; -int ddk750_setModeTiming(mode_parameter_t *, clock_type_t); +int ddk750_setModeTiming(mode_parameter_t *parm, clock_type_t clock); #endif diff --git a/drivers/staging/sm750fb/ddk750_power.h b/drivers/staging/sm750fb/ddk750_power.h index 1f22a67493af..d2948a7f0cdc 100644 --- a/drivers/staging/sm750fb/ddk750_power.h +++ b/drivers/staging/sm750fb/ddk750_power.h @@ -15,7 +15,7 @@ DPMS_t; (peek32(MISC_CTRL) & ~MISC_CTRL_DAC_POWER_OFF) | (off)); \ } -void ddk750_set_dpms(DPMS_t); +void ddk750_set_dpms(DPMS_t state); void sm750_set_power_mode(unsigned int powerMode); void sm750_set_current_gate(unsigned int gate); diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index 306711ed55f9..5ea455dee949 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -184,7 +184,7 @@ static inline unsigned long ps_to_hz(unsigned int psvalue) } int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev); -int hw_sm750_inithw(struct sm750_dev*, struct pci_dev *); +int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev); void hw_sm750_initAccel(struct sm750_dev *); int hw_sm750_deWait(void); int hw_sm750le_deWait(void);