From patchwork Tue Oct 23 20:35:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksa Zdravkovic X-Patchwork-Id: 10653627 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 5AABF13A9 for ; Tue, 23 Oct 2018 20:35:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45E782A38B for ; Tue, 23 Oct 2018 20:35:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 397012A477; Tue, 23 Oct 2018 20:35:17 +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 E2A4D2A38B for ; Tue, 23 Oct 2018 20:35:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725952AbeJXFAQ (ORCPT ); Wed, 24 Oct 2018 01:00:16 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46774 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725761AbeJXFAQ (ORCPT ); Wed, 24 Oct 2018 01:00:16 -0400 Received: by mail-wr1-f67.google.com with SMTP id i4-v6so3114745wrr.13 for ; Tue, 23 Oct 2018 13:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=jnoUuMoZKcHsUHCsAmFw0y+2mzt+QtSmKDxmDnVhwdQ=; b=g4i8aZ5KysUD8gZu8XDBY3MJDQxAOw0WR6aZ0JGrxIEZQgMhz9KWDwC34U23AyB1KC 9/VOvhof0kE+eEM85fbLurShY/+G47CvLes5IaaQYuxI/8K55zd4vQQ2JaHR5MGMyfPM 7PJu8Zp+//SekQcP6O0Z0IAshA4iz9eG3q3Fogxu+x3/f4EyQswG+fZgsuMNyEDbfPpF 9yv0Nsq7n+JpfS/DHnlnspdb72Nm36ImUNSz7fd1FPLmqM7Z7QA+ryuwGwHCVl6e0Oxj vycSlDVhpd/+8if/VT8dISczhAMlAKnyg0WfRV3yjMEWVMqYUIs7K8Qed/AsTW0bof0+ kcTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=jnoUuMoZKcHsUHCsAmFw0y+2mzt+QtSmKDxmDnVhwdQ=; b=mXz/CVKDZu/lkqeG+qgqxi4ff19o9r7c6tozE9TeDx1edFaO5DbZV+FkP5U6J+SIP1 l5ftMJzFTtjGCr+A/tbTTSkQXX7AlcKKgcoxuMyiib06le/x3xgiyKjfOYfUJdTrWTvd 9TfjZ48mibJLfWPMwNlWPK7n2FQQGYzsmAVOfjDSf3RpB25rI2S5210fcd7DrpRNxiUC EQvztuSAtEFhwFytYnbYNhiTic+cmlFoTQOAtEZLf2O0WmAVZjKiHSrCucOEN0SSmK6N E/X/wSBBRiMCDL9ci94X1wtR3Wh8KcpPiD7hwgV+HMAjfV8c12WWEqThctWS1Jrm3UAf vPYA== X-Gm-Message-State: ABuFfog6qB1AcbemLcFXkAyYl5BcB88dihIjGt4VNRi3LRR9Cfnu0gTL chg2h+0DBsOogQVMHXhw+8RgJY9SXQ0= X-Google-Smtp-Source: ACcGV6097T4tuQCCLM4R/qD6lmeE7LEXdgu1CEor6Iwf0xSDsoByzg3jIEMfSHNLt4hF+qJWMF9wEQ== X-Received: by 2002:a5d:52cd:: with SMTP id r13-v6mr49351198wrv.213.1540326914641; Tue, 23 Oct 2018 13:35:14 -0700 (PDT) Received: from zdravcePC (cable-178-149-91-180.dynamic.sbb.rs. [178.149.91.180]) by smtp.gmail.com with ESMTPSA id z4-v6sm3427812wmz.14.2018.10.23.13.35.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Oct 2018 13:35:14 -0700 (PDT) Date: Tue, 23 Oct 2018 22:35:12 +0200 From: Aleksa Zdravkovic To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com Cc: linux-fbdev@vger.kernel.org Subject: [PATCH] staging: sm750fb: Replace CamelCase variable names with underscores Message-ID: <20181023203508.GA3951@zdravcePC> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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 Change variable names devId and revId to dev_id and rev_id to meet linux kernel coding style. Issue found by checkpatch. Signed-off-by: Aleksa Zdravkovic --- 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"); }