From patchwork Sun Nov 22 09:07:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 7675821 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E30CDBF90C for ; Sun, 22 Nov 2015 09:08:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 29DE720668 for ; Sun, 22 Nov 2015 09:08:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5D60520663 for ; Sun, 22 Nov 2015 09:08:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751742AbbKVJIl (ORCPT ); Sun, 22 Nov 2015 04:08:41 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:36174 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751373AbbKVJIO (ORCPT ); Sun, 22 Nov 2015 04:08:14 -0500 Received: by wmww144 with SMTP id w144so63722853wmw.1 for ; Sun, 22 Nov 2015 01:08:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jRLwak/M8kR5KEWDjZCeCa0iv2g/zqzPVakkdvFXMxQ=; b=fOmHCgnNmXxIw9TlXRZiIERRq+jhR5UNlg4JCkBstOAjBjpRnh6WVQ5PpOktBFYjS3 TYHqlw0lS9cWJyvQocg57ZVfxywr3sCD4gZXI2FGAjX3pqHr9JAiPzanZ6RD6XeZpEHS qKIRRpkUNEawasFBzkNdHdN+wqGz4CNFScoV2ECYLNtxmfI3T3i2wm+v+CCGxP53RTWz K1PdA3JTlF3KcoDCzEtVqXfAZOEbtEvj2s3mVsqkIDCNlL3IH9b9Ufc3ZxUyEig8c8PT kYnavsM8vfAC8Kb2DCwRRfOCAY/pKDWHRnEiyt/yZXaGmO0IZZkK0Rk9MjoAO6JmIvdy a1Ag== X-Received: by 10.28.15.146 with SMTP id 140mr9280499wmp.79.1448183293216; Sun, 22 Nov 2015 01:08:13 -0800 (PST) Received: from tipsey.3.home (188.31.153.139.threembb.co.uk. [188.31.153.139]) by smtp.gmail.com with ESMTPSA id c13sm7696650wmd.14.2015.11.22.01.08.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Nov 2015 01:08:12 -0800 (PST) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley Subject: [PATCH 7/8] staging: vt6655: PSbIsNextTBTTWakeUp Rename bWakeUp wake_up Date: Sun, 22 Nov 2015 09:07:21 +0000 Message-Id: <1448183242-3397-7-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1448183242-3397-1-git-send-email-tvboxspy@gmail.com> References: <1448183242-3397-1-git-send-email-tvboxspy@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Removing camel case. Signed-off-by: Malcolm Priestley --- drivers/staging/vt6655/power.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c index ad44746..5e968c9 100644 --- a/drivers/staging/vt6655/power.c +++ b/drivers/staging/vt6655/power.c @@ -151,7 +151,7 @@ PSbIsNextTBTTWakeUp( { struct ieee80211_hw *hw = priv->hw; struct ieee80211_conf *conf = &hw->conf; - bool bWakeUp = false; + bool wake_up = false; if (conf->listen_interval > 1) { if (!priv->wake_up_count) @@ -163,9 +163,9 @@ PSbIsNextTBTTWakeUp( /* Turn on wake up to listen next beacon */ MACvRegBitsOn(priv->PortOffset, MAC_REG_PSCTL, PSCTL_LNBCN); - bWakeUp = true; + wake_up = true; } } - return bWakeUp; + return wake_up; }