[PATCH 1/3] staging: vt6655: Rename byOrgValue to reg_value in a macro

From: Philipp Hortmann
Date: Wed Jul 20 2022 - 12:24:44 EST


Fix name of a variable in a macro that uses CamelCase which is not
accepted by checkpatch.pl

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx>
---
drivers/staging/vt6655/mac.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h
index e2ef8c6ef7b7..837ae9dd6929 100644
--- a/drivers/staging/vt6655/mac.h
+++ b/drivers/staging/vt6655/mac.h
@@ -539,10 +539,10 @@

#define MACvClearStckDS(iobase) \
do { \
- unsigned char byOrgValue; \
- byOrgValue = ioread8(iobase + MAC_REG_STICKHW); \
- byOrgValue = byOrgValue & 0xFC; \
- iowrite8(byOrgValue, iobase + MAC_REG_STICKHW); \
+ unsigned char reg_value; \
+ reg_value = ioread8(iobase + MAC_REG_STICKHW); \
+ reg_value = reg_value & 0xFC; \
+ iowrite8(reg_value, iobase + MAC_REG_STICKHW); \
} while (0)

#define MACvSelectPage0(iobase) \
--
2.37.1