Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp110058lql; Sun, 10 Mar 2024 16:56:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWm13gLIgglzsObNNY7gdqxssPUo9iWhlQUJmjGZy9eXQAYWEBN3wJhP50tTP8ocfHg1lmUNiiJVhlT1a0C0rT9qOyJywBmUa2c1fj1fA== X-Google-Smtp-Source: AGHT+IHNCw04ThNyT6ZufGMFT7zAJyMT/vlOWtUlqFLvgQ+S1WSvFcjg6alNtnlIk9s0O0zNicHw X-Received: by 2002:a2e:9ad3:0:b0:2d3:30b2:ea3f with SMTP id p19-20020a2e9ad3000000b002d330b2ea3fmr3625818ljj.35.1710114973334; Sun, 10 Mar 2024 16:56:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710114973; cv=pass; d=google.com; s=arc-20160816; b=e1i4BgH8WjvgDqN7zcImp0ToorEhi3ZMF9Aw6ueeJUe05vr1Kqae3/xLlRRqJ8wyRO gHI7HGjb07jE5aBpoTwwFLaJ8ImFm/4GHSdi17JMHSRThUOZQpAvFCraZFEt5CPK4NuI 3ykerg9bbRTHxLIeZJ/sbG70zsG34NVfvPFY7UqVOBv20stJ+bE1nG0Ac68WGOSBn/zS fQJ8cnJAJxLXmTjNcHmd/1VF402IrRuimxCUIFbnuef95CAeuzi9fZccDyKPpOsXDvyc W1Gb9xa2PtBsKsDOsHkYHhU/A0GuOihqEMdhNuun3uc/Odd8tNI5ni8Iwn6WnRZdKnR+ +cUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=O21vPxTFfXzVjkRb4ZxaMigBSRssVgbLO2eIiMZRryw=; fh=z666ZQOBvlgaXfA6Lzxg2oZtlAcs0yvjD6cAUWN12pU=; b=ZyrXYo3Wv9uqjemsO9ODqDTCGnYCZBei3g6ZxHcxlqmGdE/GTZ5qcEYVYrTY5cRen5 8BJYSyzjHlmEs8Vg/u2H4t1IXAwjwbZeSAFl3R7CgLX1GO/fa/WSfXk9SYyNaVX7ouz5 /uDVj1aQo8OnFHeHhqKWcl9bB9Vhn+37qGv5wdAUNT3QvTOsYMmSxZMMjvnN6nR5wnpP LfYjyP07H34zLaiwsrLClvyphy4Mbup/A+QpseAmulQEWfzXPvvg6LoK0nlGcKUwNNiZ EtwROePj/vSOx8sTnKit1jntw+DY8a4Lg8gC1rMm8MMq/UkLyIz10DcQvqS+pdI4GOq4 GXmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=iaTxUwe3; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-98372-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98372-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t20-20020aa7d714000000b005682919cfd8si1942512edq.401.2024.03.10.16.56.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 16:56:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98372-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=iaTxUwe3; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-98372-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98372-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 138CF1F21072 for ; Sun, 10 Mar 2024 23:56:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 427513C467; Sun, 10 Mar 2024 23:56:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="iaTxUwe3" Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8D743BB4D for ; Sun, 10 Mar 2024 23:55:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710114959; cv=none; b=gJUg1TQfzHm6D1BUwy2YArYI6KAMbmemKd5JrQw2lSEEmqIE9QOHTW7e5uDN3eI9T6kKG5D5/9+E8jGEiEDlEL+gHQ1aWkA/K9RtmA7P/96/b5cpbTgWY5zslP2Gn2lr6MQNKyNNGdNoUlscZ6YQRIQDfMSH0JGDwh/qFhgkT3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710114959; c=relaxed/simple; bh=3K0sO1C4XLSXE8b13C4nNIhyadNMqY3iN3rrAQeDfb8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dRxd+jV/t8AfVsVhh/K7VZ6mrOGeQEjdXXLQmlP1tALLS23sdZ6em9KSs52fQ/MSJHwxSDcYXMAAGHkyNvN/rRmtb+3bkcPoKc6AZFo47UgizrfNyTJLZEhDAJ/1NYbxVKpSu2/hFEDpAphwpcd3l1nXCJ4UpQThNDTULc2kTtI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net; spf=pass smtp.mailfrom=darkphysics.net; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b=iaTxUwe3; arc=none smtp.client-ip=209.85.215.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=darkphysics.net Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-5dbf7b74402so2884081a12.0 for ; Sun, 10 Mar 2024 16:55:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1710114957; x=1710719757; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=O21vPxTFfXzVjkRb4ZxaMigBSRssVgbLO2eIiMZRryw=; b=iaTxUwe3En8/a30sVete7js9o/bttAgN6tKuvTCeTFL2fv/c3/NV+FbcRUv0GO4X7D ACDxRScW05bK8y7V20aGrHR3FF1IW65OP6aHLA1DoOmWsJHwtnmenCbWgT9MMhdu1jyT DokMCGjxMQEKZDC4QEulBbCeFgmYNy9t27k1Bxx9wFTpeJsJsBSbGvZ5QGuC+A2xr7ky 3q4Yotyp/7ljX3iY9Ngf/qZYJEOPM8f1SXtRKXXaBOEwrhVEgytyVEU+CN/T2fHHG4NM vTooH9QfiH4TlMSrdAb1OCvsqSCBfiMRSoP9CCI7qBlvvvdQBjLZhtrqnKiSH9YdKDXJ MCVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710114957; x=1710719757; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O21vPxTFfXzVjkRb4ZxaMigBSRssVgbLO2eIiMZRryw=; b=P28kzbM/XA/2sON54B+lZUr29zoyXNMb9w81RNAkbJ2eS1j13OHdKBaEx0j5ChK7bI X5KjbmiuyJRIgj6r+YxJ+SVFeKvJOHEh4C8DIPB9VVlyGoNHBL+2HOwH+1hf6BZ8Nymt 1Z9qPqTxtjrY3jqCbF9wdUMD+ffWBDIaXrnrnXK5DFfc2kW4tz3pDw0X3b1T3yUn7Nwk SaRqOOOauu/3yEi1dSPO22H1cYWRJm+Gut0ThCYtoHm6BZXkmxxkqGsdDEQoGsQELyLV MvD9r8TZ7xVbRLvr2U3kV/hy6nF51rJWnOyt4u8csZD/rSr+5eUe6taPJQecdljJp6yE kdmg== X-Forwarded-Encrypted: i=1; AJvYcCUAPdl4jOMueYDh8GedwyFar2fQ3B0UPl0JMEmYgcFOizvMIoe10m+5MSKLd7pU71GCo3rBo3DDHl57qvZ4q1N9GLEtuSZvHbnI/ckR X-Gm-Message-State: AOJu0YyFYoI4765OctbJHgjhn9quKsnCHSKdeLmpjisDkCzUZZR0ApFg 5zATmvi1s+phbHfczIKa+Nen23TX9m2TArt/0QCCuC+uRYEOuJ971WEZ0uukCz6nOaXOIfJRFrQ o X-Received: by 2002:a17:90b:3a81:b0:29b:efcb:7e7c with SMTP id om1-20020a17090b3a8100b0029befcb7e7cmr1007369pjb.24.1710114956974; Sun, 10 Mar 2024 16:55:56 -0700 (PDT) Received: from lunchbox.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id o7-20020a17090ac08700b0029bb29ef41bsm2903439pjs.50.2024.03.10.16.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 16:55:56 -0700 (PDT) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 01/11] Staging: rtl8192e: Rename variable ReturnPoint Date: Sun, 10 Mar 2024 16:55:42 -0700 Message-Id: <20240310235552.4217-2-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240310235552.4217-1-tdavies@darkphysics.net> References: <20240310235552.4217-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rename variable ReturnPoint to return_point to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index 649b529657ba..08d057ab8f74 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -964,7 +964,7 @@ static void _rtl92e_watchdog_wq_cb(void *data) MAC80211_NOLINK) && (ieee->rf_power_state == rf_on) && !ieee->is_set_key && (!ieee->proto_stoppping) && !ieee->wx_set_enc) { - if (ieee->pwr_save_ctrl.ReturnPoint == IPS_CALLBACK_NONE) + if (ieee->pwr_save_ctrl.return_point == IPS_CALLBACK_NONE) rtl92e_ips_enter(dev); } } diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 6fbf11ac168f..b2b8947da89d 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1051,7 +1051,7 @@ enum rt_rf_power_state { struct rt_pwr_save_ctrl { bool bSwRfProcessing; enum rt_rf_power_state eInactivePowerState; - enum ips_callback_function ReturnPoint; + enum ips_callback_function return_point; bool bLeisurePs; u8 lps_idle_count; -- 2.30.2