diff options
author | Philipp Hortmann <philipp.g.hortmann@gmail.com> | 2022-08-28 09:53:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-30 18:17:48 +0300 |
commit | 54765727cfe6283061d6a1e0fad8a1f46bdbef05 (patch) | |
tree | a8832845f860c498931a272c62e3e9d194c49451 /drivers/staging/vt6655/device_main.c | |
parent | b1d3ecbf146e46326e96c5503fa9ce7dab45159e (diff) | |
download | linux-54765727cfe6283061d6a1e0fad8a1f46bdbef05.tar.xz |
staging: vt6655: Rename macro MACvSelectPage0
Rename MACvSelectPage0 macro to VT6655_MAC_SELECT_PAGE0 to avoid
CamelCase which is not accepted by checkpatch.pl and to clean up
namespace. Remove unnecessary line break.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/a656aa0e04c43654ba22b764cb00e27898efbe5f.1661666677.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device_main.c')
-rw-r--r-- | drivers/staging/vt6655/device_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 8e2a976aaaad..283119bbe2fb 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -404,7 +404,7 @@ static void device_init_registers(struct vnt_private *priv) iowrite8(MSRCTL1_TXPWR | MSRCTL1_CSAPAREN, priv->port_offset + MAC_REG_MSRCTL + 1); - MACvSelectPage0(priv->port_offset); + VT6655_MAC_SELECT_PAGE0(priv->port_offset); } /* use relative tx timeout and 802.11i D4 */ @@ -1592,7 +1592,7 @@ static void vnt_configure(struct ieee80211_hw *hw, iowrite32(0xffffffff, priv->port_offset + MAC_REG_MAR0); iowrite32(0xffffffff, priv->port_offset + MAC_REG_MAR0 + 4); - MACvSelectPage0(priv->port_offset); + VT6655_MAC_SELECT_PAGE0(priv->port_offset); } else { MACvSelectPage1(priv->port_offset); @@ -1601,7 +1601,7 @@ static void vnt_configure(struct ieee80211_hw *hw, iowrite32((u32)(multicast >> 32), priv->port_offset + MAC_REG_MAR0 + 4); - MACvSelectPage0(priv->port_offset); + VT6655_MAC_SELECT_PAGE0(priv->port_offset); } spin_unlock_irqrestore(&priv->lock, flags); |