summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Rubin <matchstick@neverthere.org>2025-04-09 01:20:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-15 17:34:50 +0300
commit77fd6ceabd19d56a2db21399e2f76b156c6a9a43 (patch)
tree26d7845f3478c6c7f976bcc3cd457ab8c39eaa3b
parentfdbb60074f40b7161a87e6fdd139b6980ecdc0b6 (diff)
downloadlinux-77fd6ceabd19d56a2db21399e2f76b156c6a9a43.tar.xz
staging: gpib: Correct CamelCase for PPConfig
Adhere to Linux kernel coding style. Reported by checkpatch CHECK: Avoid CamelCase: <PPConfig> Signed-off-by: Michael Rubin <matchstick@neverthere.org> Link: https://lore.kernel.org/r/20250408222040.186881-3-matchstick@neverthere.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/gpib/tms9914/tms9914.c4
-rw-r--r--drivers/staging/gpib/uapi/gpib_user.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/gpib/tms9914/tms9914.c b/drivers/staging/gpib/tms9914/tms9914.c
index f7ad0b47ebb8..5f167c518c7b 100644
--- a/drivers/staging/gpib/tms9914/tms9914.c
+++ b/drivers/staging/gpib/tms9914/tms9914.c
@@ -736,7 +736,7 @@ irqreturn_t tms9914_interrupt_have_status(struct gpib_board *board, struct tms99
unsigned short command_byte = read_byte(priv, CPTR) & gpib_command_mask;
switch (command_byte) {
- case PPConfig:
+ case PP_CONFIG:
priv->ppoll_configure_state = 1;
/* AUX_PTS generates another UNC interrupt on the next command byte
* if it is in the secondary address group (such as PPE and PPD).
@@ -764,7 +764,7 @@ irqreturn_t tms9914_interrupt_have_status(struct gpib_board *board, struct tms99
break;
}
- if (in_primary_command_group(command_byte) && command_byte != PPConfig)
+ if (in_primary_command_group(command_byte) && command_byte != PP_CONFIG)
priv->ppoll_configure_state = 0;
}
diff --git a/drivers/staging/gpib/uapi/gpib_user.h b/drivers/staging/gpib/uapi/gpib_user.h
index b0c131196a00..ff5a257f9a01 100644
--- a/drivers/staging/gpib/uapi/gpib_user.h
+++ b/drivers/staging/gpib/uapi/gpib_user.h
@@ -130,9 +130,9 @@ enum bus_control_line {
enum cmd_byte {
GTL = 0x1, /* go to local */
SDC = 0x4, /* selected device clear */
- PPConfig = 0x5,
+ PP_CONFIG = 0x5,
#ifndef PPC
- PPC = PPConfig, /* parallel poll configure */
+ PPC = PP_CONFIG, /* parallel poll configure */
#endif
GET = 0x8, /* group execute trigger */
TCT = 0x9, /* take control */