staging: r8188eu: rename _pFwHdr in IS_FW_HEADER_EXIST
authorMichael Straube <straube.linux@gmail.com>
Fri, 7 Jan 2022 14:36:15 +0000 (15:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:13:44 +0000 (16:13 +0100)
Rename _pFwHdr in the macro IS_FW_HEADER_EXIST to avoid camel case.

_pFwHdr -> _fwhdr

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220107143617.2214-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtl8188e_hal.h

index c614faf188bb12758ea345e6b135b9587cc3e3af..d8892acad224895b4e86590ce2d5350f367290f6 100644 (file)
 
 #define MAX_PAGE_SIZE                  4096    /*  @ page : 4k bytes */
 
-#define IS_FW_HEADER_EXIST(_pFwHdr)                            \
-       ((le16_to_cpu(_pFwHdr->Signature)&0xFFF0) == 0x92C0 ||  \
-       (le16_to_cpu(_pFwHdr->Signature)&0xFFF0) == 0x88C0 ||   \
-       (le16_to_cpu(_pFwHdr->Signature)&0xFFF0) == 0x2300 ||   \
-       (le16_to_cpu(_pFwHdr->Signature)&0xFFF0) == 0x88E0)
+#define IS_FW_HEADER_EXIST(_fwhdr)                             \
+       ((le16_to_cpu(_fwhdr->Signature)&0xFFF0) == 0x92C0 ||   \
+       (le16_to_cpu(_fwhdr->Signature)&0xFFF0) == 0x88C0 ||    \
+       (le16_to_cpu(_fwhdr->Signature)&0xFFF0) == 0x2300 ||    \
+       (le16_to_cpu(_fwhdr->Signature)&0xFFF0) == 0x88E0)
 
 /*  This structure must be careful with byte-ordering */