staging: vt6655: Rename MACvClearStckDS
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Thu, 28 Jul 2022 05:59:32 +0000 (07:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jul 2022 08:43:14 +0000 (10:43 +0200)
Rename MACvClearStckDS macro to vt6655_mac_clear_stck_ds to avoid
CamelCase which is not accepted by checkpatch.pl and to clean up
namespace.

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

index a7f645f..d7ee42d 100644 (file)
@@ -518,7 +518,7 @@ void MACvInitialize(struct vnt_private *priv)
 {
        void __iomem *io_base = priv->port_offset;
        /* clear sticky bits */
-       MACvClearStckDS(io_base);
+       vt6655_mac_clear_stck_ds(io_base);
        /* disable force PME-enable */
        iowrite8(PME_OVR, io_base + MAC_REG_PMC1);
        /* only 3253 A */
index b307161..fc58724 100644 (file)
@@ -577,7 +577,7 @@ do {                                                                        \
                iowrite32(DMACTL_RUN, iobase + MAC_REG_AC0DMACTL);      \
 } while (0)
 
-#define MACvClearStckDS(iobase)                                        \
+#define vt6655_mac_clear_stck_ds(iobase)                               \
 do {                                                                   \
        unsigned char byOrgValue;                                       \
        byOrgValue = ioread8(iobase + MAC_REG_STICKHW);                 \