From patchwork Sat Mar 16 00:01:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jules Irenge X-Patchwork-Id: 10855637 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 591761575 for ; Sat, 16 Mar 2019 00:01:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BF662ACB3 for ; Sat, 16 Mar 2019 00:01:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F6292ACCE; Sat, 16 Mar 2019 00:01:36 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,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 34AF62ACB3 for ; Sat, 16 Mar 2019 00:01:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726404AbfCPABe (ORCPT ); Fri, 15 Mar 2019 20:01:34 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:53239 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726218AbfCPABe (ORCPT ); Fri, 15 Mar 2019 20:01:34 -0400 Received: by mail-wm1-f68.google.com with SMTP id f65so8065871wma.2 for ; Fri, 15 Mar 2019 17:01:33 -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:mime-version :content-transfer-encoding; bh=KZAxlAvfVcya/dbg7JhGByPod5pst9eEOS0QNxunIHI=; b=nlO/zaEQagJeZPUvxAIcKtRmlm7FuxUegzwWLIFXDtFYGZcdum8Ta5JAGZvxU+LBvY dEzcktWiVUxwO2M7urWaZ8z74B1Z4qytTKKCZdTc6+8VICbXszLKoxYlCRpVzUL11eIH vMVL+14ZyCNOEncMEFdHtu1t/Fkl85luQEHKohSFowhlgp13sIRd6TFpefkM2dWl2je5 R+BmnX1+Zpm8CDbhqVYPx842c6xlKUtCW9hZ4JWRL7zfWlNxNxV8oJBBiwRrZpzeRVf6 Jew4d9p0Ye0nJJf2DcBKeVefT1F347srEiVBjpwTjp9uWloK9bdrH4+Kao0lB2mJ9IoD b4/g== 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:mime-version :content-transfer-encoding; bh=KZAxlAvfVcya/dbg7JhGByPod5pst9eEOS0QNxunIHI=; b=AJ6GrIDF/uqm8bYXscdHsUEe/aTj18cUp64HYbgfCTzgatatA9ZTGuTrcOHEygxmic WZXfG8isr+6QNoJg3i/9I3X7S5cHSpbrbP54mft5GL5gdwBQDLbmAnZF7fDbYVDQp8Xh jjwrk7BKNko9vapzuVJMLqhSM20BH9OvRh+pMRbAKbkeuOFdEhWH/TpnO2nxNkBmt5mc U3YBlL27h3jWiUE0kxm3PfMYihF3jwTGEevRosBySAGjjazUZFCVY2ldoZItS8WTXpgR foDNYqjcDFEUi+XkpwwwHcAOXCgCYV5PmTTw6QZ18xBcyiNmEp9LugflrRddZxVDP8iD JIQA== X-Gm-Message-State: APjAAAWOGoUDTgTjJZv/bT/mh6UYcmf0JhyoCfg2Kdsg45UftQwDelUG /GuHfaFjszlan+VxITzLqX26vPw= X-Google-Smtp-Source: APXvYqwthYhrQh6o6Bb13pVqKG2JeJIHjuDP1e0x0k3o4zAu08Zlfs1yqarQ8SF6oayrHgG4JdNbmg== X-Received: by 2002:a1c:f014:: with SMTP id a20mr3619045wmb.122.1552694492568; Fri, 15 Mar 2019 17:01:32 -0700 (PDT) Received: from ninjatsu.lan (79-76-221-144.dynamic.dsl.as9105.com. [79.76.221.144]) by smtp.gmail.com with ESMTPSA id x22sm3830164wmc.19.2019.03.15.17.01.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Mar 2019 17:01:32 -0700 (PDT) From: Jules Irenge To: linux-fbdev@vger.kernel.org Cc: gregkh@linuxfoundation.org, outreachy-kernel@googlegroups.com Subject: [PATCH] staging: sm759fb: fix camelcase check issue Date: Sat, 16 Mar 2019 00:01:09 +0000 Message-Id: <20190316000109.22244-1-jbi.octave@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.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 Lower case of parameters to fix camelcase warning Issue reported by checkpatch.pl tool Signed-off-by: Jules Irenge --- drivers/staging/sm750fb/ddk750_chip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index 4c1f00f551da..6bdf643707c2 100644 --- a/drivers/staging/sm750fb/ddk750_chip.c +++ b/drivers/staging/sm750fb/ddk750_chip.c @@ -15,14 +15,14 @@ enum logical_chip_type sm750_get_chip_type(void) return chip; } -void sm750_set_chip_type(unsigned short devId, u8 revId) +void sm750_set_chip_type(unsigned short dev_id, u8 rev_id) { - if (devId == 0x718) { + if (dev_id == 0x718) { chip = SM718; - } else if (devId == 0x750) { + } else if (dev_id == 0x750) { chip = SM750; /* SM750 and SM750LE are different in their revision ID only. */ - if (revId == SM750LE_REVISION_ID) { + if (rev_id == SM750LE_REVISION_ID) { chip = SM750LE; pr_info("found sm750le\n"); }