public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8192e: Rename function HTIOTPeerDetermine to ht_iot_peer_determine
@ 2023-06-24 21:05 Tree Davies
  2023-06-25 14:07 ` Philipp Hortmann
  0 siblings, 1 reply; 2+ messages in thread
From: Tree Davies @ 2023-06-24 21:05 UTC (permalink / raw)
  To: gregkh, philipp.g.hortmann, dan.carpenter
  Cc: tdavies, linux-kernel, linux-staging

Rename function HTIOTPeerDetermine to ht_iot_peer_determine in order to
fix checkpatch warning: Avoid CamelCase

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
 drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c
index f9fa3f2bb728..33fac7d9ada8 100644
--- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
@@ -164,7 +164,7 @@ bool IsHTHalfNmodeAPs(struct rtllib_device *ieee)
 	return retValue;
 }
 
-static void HTIOTPeerDetermine(struct rtllib_device *ieee)
+static void ht_iot_peer_determine(struct rtllib_device *ieee)
 {
 	struct rt_hi_throughput *ht_info = ieee->ht_info;
 	struct rtllib_network *net = &ieee->current_network;
@@ -720,7 +720,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
 			ht_info->RT2RT_HT_Mode = (enum rt_ht_capability)0;
 		}
 
-		HTIOTPeerDetermine(ieee);
+		ht_iot_peer_determine(ieee);
 
 		ht_info->iot_action = 0;
 		bIOTAction = HTIOTActIsDisableMCS14(ieee, pNetwork->bssid);
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: rtl8192e: Rename function HTIOTPeerDetermine to ht_iot_peer_determine
  2023-06-24 21:05 [PATCH] staging: rtl8192e: Rename function HTIOTPeerDetermine to ht_iot_peer_determine Tree Davies
@ 2023-06-25 14:07 ` Philipp Hortmann
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Hortmann @ 2023-06-25 14:07 UTC (permalink / raw)
  To: Tree Davies, gregkh, dan.carpenter; +Cc: linux-kernel, linux-staging

On 6/24/23 23:05, Tree Davies wrote:
> Rename function HTIOTPeerDetermine to ht_iot_peer_determine in order to
> fix checkpatch warning: Avoid CamelCase
> 
> Signed-off-by: Tree Davies <tdavies@darkphysics.net>
> ---
>   drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c
> index f9fa3f2bb728..33fac7d9ada8 100644
> --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
> +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
> @@ -164,7 +164,7 @@ bool IsHTHalfNmodeAPs(struct rtllib_device *ieee)
>   	return retValue;
>   }
>   
> -static void HTIOTPeerDetermine(struct rtllib_device *ieee)
> +static void ht_iot_peer_determine(struct rtllib_device *ieee)
>   {
>   	struct rt_hi_throughput *ht_info = ieee->ht_info;
>   	struct rtllib_network *net = &ieee->current_network;
> @@ -720,7 +720,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
>   			ht_info->RT2RT_HT_Mode = (enum rt_ht_capability)0;
>   		}
>   
> -		HTIOTPeerDetermine(ieee);
> +		ht_iot_peer_determine(ieee);
>   
>   		ht_info->iot_action = 0;
>   		bIOTAction = HTIOTActIsDisableMCS14(ieee, pNetwork->bssid);


Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-25 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-24 21:05 [PATCH] staging: rtl8192e: Rename function HTIOTPeerDetermine to ht_iot_peer_determine Tree Davies
2023-06-25 14:07 ` Philipp Hortmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox