staging: vt6655: Rename MACvWriteBSSIDAddress
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Mon, 4 Jul 2022 18:20:35 +0000 (20:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Jul 2022 12:28:46 +0000 (14:28 +0200)
Fix name of a macro that uses CamelCase which is not
accepted by checkpatch.pl

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/1190d93181409679f9ae348a95ea269b48b1115c.1656835310.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c
drivers/staging/vt6655/mac.h

index 2049946..6cf2188 100644 (file)
@@ -1405,7 +1405,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
 
                spin_lock_irqsave(&priv->lock, flags);
 
-               MACvWriteBSSIDAddress(priv->port_offset, conf->bssid);
+               vt6655_mac_write_bssid_addr(priv->port_offset, conf->bssid);
 
                spin_unlock_irqrestore(&priv->lock, flags);
        }
index 541c6ed..cfebd12 100644 (file)
@@ -565,7 +565,7 @@ do {                                                                        \
        iowrite16(wData & ~(wBits), iobase + byRegOfs);                 \
 } while (0)
 
-#define MACvWriteBSSIDAddress(iobase, mac_addr)                \
+#define vt6655_mac_write_bssid_addr(iobase, mac_addr)          \
 do {                                                           \
        iowrite8(1, iobase + MAC_REG_PAGE1SEL);                 \
        iowrite8(mac_addr[0], iobase + MAC_REG_BSSID0);         \