Skip to contentSkip to conversation

staging: gpib: Adhering to Linux Code standards

PATCH New Michael Rubin 1 participant 2 messages Apr 16, 2025 Staging

lore
Share & tools
lore
#0 lore raw

v2 cover staging: gpib: Adhering to Linux Code standards

This is a remaining patch from a series of 14 to clean up the gpib driver to adhere to Linux code style. The other 13 have been added to the tree but this one requires a v2.

* Patch 1 - Fixing CamelCase for constants

Michael Rubin (1):
staging: gpib: uapi: Fix CamelCase and IBA Dup

 drivers/staging/gpib/uapi/gpib_user.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 1/1 staging: gpib: uapi: Fix CamelCase and IBA Dup

Resolved duplicate entry for IbaSPollBit vs IbaSpollBit. Correct CamelCase for IBA enums

Adhere to Linux kernel coding style.

Reported by checkpatch

---
 drivers/staging/gpib/uapi/gpib_user.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/gpib/uapi/gpib_user.h +1 -1
index 301083f287ad..58b996a8bd7f 100644
@@ -285,7 +285,7 @@ enum ibask_option {
 	IBA_RSV = 0x21,	/* board only */
 	IBA_BNA = 0x200,	/* device only */
 	/* linux-gpib extensions */
-	IBA_7BitEOS = 0x1000	/* board only. Returns 1 if board supports 7 bit eos compares*/
+	IBA_7_BIT_EOS = 0x1000	/* board only. Returns 1 if board supports 7 bit eos compares*/
 };
 
 enum ibconfig_option {
Signature · 1 line
2.43.0