From patchwork Mon Jan 22 20:43:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Sedlak X-Patchwork-Id: 10179295 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 6047D600F5 for ; Mon, 22 Jan 2018 20:43:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5160C284D2 for ; Mon, 22 Jan 2018 20:43:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45349284DA; Mon, 22 Jan 2018 20:43:19 +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 DA413284D2 for ; Mon, 22 Jan 2018 20:43:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751049AbeAVUnS (ORCPT ); Mon, 22 Jan 2018 15:43:18 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33534 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750925AbeAVUnR (ORCPT ); Mon, 22 Jan 2018 15:43:17 -0500 Received: by mail-wm0-f68.google.com with SMTP id x4so19154431wmc.0; Mon, 22 Jan 2018 12:43:16 -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; bh=VlONOQ5HAyc/+sdapY9Sj4G8RDrpyByIznaVEFrJAAE=; b=FeOCSy3rSbtMMmdPK5yoPLba+NydOPyS0vpcZ0KOceOUjiHDgG+rT9yYztnm9ll8r1 BDJf7HhdD9qQp1bwiFfNaYF9xkF8+vlXjzPsZ46C+ZSpEpyCiwqMLelUezyjEP7M7t56 /lG+IF7LYofTuLmkW+KohQN5AknDAUhsit/xdxcw2H65d/XPlb4/QB0NaD2Jqi303Nqn hrozRfovPWXNBCi6+7SXoJx/4K3Y+UwZwG7Qt/uFjM86eK0mC1rJfV4mickBEhA/WSCc EfNSC9MAjeZoxs3ftcpClbDPlk2hoVvlykFbDmWmmPsUYWDm56dwTFdBAJBgYLjFoniQ Pajw== 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=VlONOQ5HAyc/+sdapY9Sj4G8RDrpyByIznaVEFrJAAE=; b=PpQDHzMtHwKUD5mg+tuR23ltQjfAcrGUwe9C64ydjwlEsTKZT6J9++en95qqSSGIV4 S7ynPCB8y2cq/kfCPX8TOahNsmZDHA+gN3qC3DGnGxtO4h7/NbDDCTdCCmMGArAgOGPH fFlSwiA0PX8oDr5jv6sB1kgYm9sezCD+Zjh6z7dydsMI6caM4WF63qxUVYb75G7pPrlT Hf0vTdLzK5ONZdOmzX/A6kucOkd1ByGW1bl/YwuhCIJrUdXjPLVHO6aXCIDiq3I6U1T+ U0smP6Whk0j1xMDUCxUoP4qgO7HVGL9HljphCJFVenAQT4VJKpGzhxPV57m7KgRwVC0B L0UA== X-Gm-Message-State: AKwxytf1dcAOQEFjHLpWNoxZTEo71kMxGpFWj2gJt8Bl54ve86ZpdaMp wVFBglpGpbXqWSPd/VFhwsg= X-Google-Smtp-Source: AH8x226Lf9C2SFJ9IG4WkquhZV8jAOXt9+z7+PrCi9y3K2UJXFGURVI3VbEt/z1ySX+LaQZlJKDR+w== X-Received: by 10.28.218.207 with SMTP id r198mr50281wmg.138.1516653796079; Mon, 22 Jan 2018 12:43:16 -0800 (PST) Received: from GEB ([188.75.128.41]) by smtp.gmail.com with ESMTPSA id p9sm5050794wra.76.2018.01.22.12.43.15 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Jan 2018 12:43:15 -0800 (PST) From: Petr Sedlak To: Sudip Mukherjee , Teddy Wang , Greg Kroah-Hartman , linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Petr Sedlak Subject: [PATCH] staging: sm750fb: fix CamelCase for dispSet var Date: Mon, 22 Jan 2018 21:43:06 +0100 Message-Id: <1516653786-6560-1-git-send-email-hugosedlak@gmail.com> X-Mailer: git-send-email 2.7.4 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 warning reported by checkpatch: CHECK: Avoid CamelCase: By renaming dispSet to disp_set Signed-off-by: Petr Sedlak --- drivers/staging/sm750fb/sm750_hw.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_hw.c b/drivers/staging/sm750fb/sm750_hw.c index ffd114a..a8c7986 100644 --- a/drivers/staging/sm750fb/sm750_hw.c +++ b/drivers/staging/sm750fb/sm750_hw.c @@ -185,29 +185,29 @@ int hw_sm750_output_setMode(struct lynxfb_output *output, struct fb_fix_screeninfo *fix) { int ret; - disp_output_t dispSet; + disp_output_t disp_set; int channel; ret = 0; - dispSet = 0; + disp_set = 0; channel = *output->channel; if (sm750_get_chip_type() != SM750LE) { if (channel == sm750_primary) { pr_info("primary channel\n"); if (output->paths & sm750_panel) - dispSet |= do_LCD1_PRI; + disp_set |= do_LCD1_PRI; if (output->paths & sm750_crt) - dispSet |= do_CRT_PRI; + disp_set |= do_CRT_PRI; } else { pr_info("secondary channel\n"); if (output->paths & sm750_panel) - dispSet |= do_LCD1_SEC; + disp_set |= do_LCD1_SEC; if (output->paths & sm750_crt) - dispSet |= do_CRT_SEC; + disp_set |= do_CRT_SEC; } - ddk750_setLogicalDispOut(dispSet); + ddk750_setLogicalDispOut(disp_set); } else { /* just open DISPLAY_CONTROL_750LE register bit 3:0 */ u32 reg;