diff options
author | Michael Rubin <matchstick@neverthere.org> | 2025-03-19 21:59:24 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-20 06:59:40 -0700 |
commit | 4a2b4d93e8b3bf986ccdaa128354dddc3b8da7e0 (patch) | |
tree | 4c74b53dce55174537db6e2a0a29ff43931b8b7c | |
parent | 50af7beb90b355f6aa6914ff3f66ee6b848c0990 (diff) |
staging: gpib: Removing typedef for gpib_board
Removing typedef as per Linux code style.
Adhering to Linux code style.
In general, a pointer, or a struct that has elements that can reasonably be
directly accessed should never be a typedef.
Signed-off-by: Michael Rubin <matchstick@neverthere.org>
Acked-By: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250319215924.19387-21-matchstick@neverthere.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/gpib/include/gpib_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gpib/include/gpib_types.h b/drivers/staging/gpib/include/gpib_types.h index 515fdb91d150..31b35f2cb2e1 100644 --- a/drivers/staging/gpib/include/gpib_types.h +++ b/drivers/staging/gpib/include/gpib_types.h @@ -23,7 +23,7 @@ #include <linux/interrupt.h> typedef struct gpib_interface_struct gpib_interface_t; -typedef struct gpib_board gpib_board_t; +struct gpib_board; /* config parameters that are only used by driver attach functions */ typedef struct { |