aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2022-08-06 08:09:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-16 15:16:16 +0200
commited0bbb6f81e11ac1ee60b0edd9b60b30eab235a9 (patch)
treec4b8e9aacf1d1fbd25361b9e8680046d57b39f03
parentstaging: r8188eu: avoid camel case in phy_CalculateBitShift() (diff)
staging: r8188eu: clean up comment for phy_calculate_bit_shift()
Clean up the comment for function phy_calculate_bit_shift(). Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220806060929.11022-4-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/r8188eu/hal/rtl8188e_phycfg.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/staging/r8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/r8188eu/hal/rtl8188e_phycfg.c
index e9e24efabd76..a435ec65d4b1 100644
--- a/drivers/staging/r8188eu/hal/rtl8188e_phycfg.c
+++ b/drivers/staging/r8188eu/hal/rtl8188e_phycfg.c
@@ -12,17 +12,7 @@
/* 1. BB register R/W API */
/* */
-/**
-* Function: phy_CalculateBitShift
-*
-* OverView: Get shifted position of the BitMask
-*
-* Input:
-* u32 BitMask,
-*
-* Output: none
-* Return: u32 Return the shift bit bit position of the mask
-*/
+/* Get shifted position of the bit mask */
static u32 phy_calculate_bit_shift(u32 bitmask)
{
u32 i = ffs(bitmask);